2014年4月23日

[LeetCode] Simplify Path,文件路径简化,用栈来做

摘要: Given an absolute path for a file (Unix-style), simplify it.For example,path="/home/", =>"/home"path="/a/./b/../../c/", =>"/c"click to show corner cas... 阅读全文

posted @ 2014-04-23 04:23 Felix Fang 阅读(419) 评论(0) 推荐(0) 编辑

导航