算法:Unix是如何简化路径的Simplify Path简化路径规则题目Stack解法
题目71. Simplify PathGiven an absolute path for a file (Unix-style), simplify it. Or in other words, convert it to the canonical path.In a UNIX-style file system, a period . refers to the current directory. Furthermore, a double period … moves the dire