随笔分类 -  LeetCode

LeetCode做题之旅
8. String to Integer (atoi)
摘要:题目如下: Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see 阅读全文

posted @ 2016-11-26 15:49 Bismarck 阅读(123) 评论(0) 推荐(0)

388. Longest Absolute File Path
摘要:题目如下: Suppose we abstract our file system by a string in the following manner: The string "dir\n\tsubdir1\n\tsubdir2\n\t\tfile.ext" represents: The di 阅读全文

posted @ 2016-11-22 22:13 Bismarck 阅读(208) 评论(0) 推荐(0)