LeetCode:简化路径 (Simplify Path )
LeetCode:简化路径 (Simplify Path )
题目 :
Given an absolute path for a file (Unix-style), simplify it.
For example,
path = “/home/”, => “/home”
path = “/a/./b/…/…/c/”, => “/c”
Corner Cases: :
Did you ...
原创
2018-12-06 22:39:50 ·
174 阅读 ·
0 评论