- 博客(4)
- 收藏
- 关注
原创 Simplify Path (leetcode)
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 consider the case where path
2014-10-24 21:08:28 237
原创 Break Word
Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words. For example, given s = "leetcode", dict = ["lee
2014-10-23 22:21:12 327
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人