---
title: "#leetcode-problem-71-simplify-path articles | Hashnode"
description: "Explore 1 articles tagged #leetcode-problem-71-simplify-path on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/leetcode-problem-71-simplify-path"
---

Tag

# #leetcode-problem-71-simplify-path

1 posts · 0 followers

[Shrish](https://hashnode.com/@shrishmishra) · [May 5, 2023](https://hashnode.com/posts/leetcode-71-simplify-path/645551825a3485dcd055f193)

### [Leetcode 71 Simplify Path](https://leetcode.hashnode.dev/leetcode-71-simplify-path?utm_source=hashnode&utm_medium=feed)

Approach The idea is to get rid of unnecessary tokens from the path. Three types of tokens can be cleaned. The empty token "//" --> "/". "." token: /a/./b" -> "/a/b" ".." token : "/a/../b" -> "b". Algorithm Split the path into tokens separated by th...

1 min read · [leetcode.hashnode.dev](https://leetcode.hashnode.dev/leetcode-71-simplify-path?utm_source=hashnode&utm_medium=feed)
