LeetCode - Simplify Path | Darren's Blog Given an absolute path for a file (Unix-style), simplify it...

Please Visit: http://ift.tt/1ajReyV



LeetCode - Simplify Path | Darren's Blog



Given an absolute path for a file (Unix-style), simplify it.

For example,

path = "/home/", => "/home"

path = "/a/./b/../../c/", => "/c"

http://ift.tt/1lqtFy9

http://ift.tt/1lqtFyc



LeetCode - Simplify Path | Darren's Blog







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1lqtEdL

via LifeLong Community

No comments:

Post a Comment