#Simplify

[leetcode]Simplify Path

Givenanabsolutepathforafile(Unix-style),simplifyit.Forexample,path="/home/",=>"/home"path="/a/./b/../../c/",=>"/c"clicktoshowcornercases.CornerCases:Didyo...
代码星球 ·2020-08-29