摘要:
标题:Simplify Path通过率:20.1%难度:中等Given an absolute path for a file (Unix-style), simplify it.For example,path="/home/", =>"/home"path="/a/./b/../../c/", ... 阅读全文
摘要:
标题:Number of Islands通过率:22.8%难度:中等Given a 2d grid map of'1's (land) and'0's (water), count the number of islands. An island is surrounded by water and... 阅读全文