leetcode
掠雪墨影
这个作者很懒,什么都没留下…
展开
-
[leetcode]278. First Bad Version
leetcode 解题记录, 278. First Bad Version原创 2016-05-24 16:20:58 · 468 阅读 · 0 评论 -
[leetcode]292. Nim Game
[leetcode]292. Nim Game 一道数学题原创 2016-07-01 16:35:13 · 348 阅读 · 0 评论 -
[leetcode]222. Count Complete Tree Nodes
leetcode 222. Count Complete Tree Nodes 求完全二叉树节点数量,时间复杂度小于O(n)版本原创 2016-07-01 16:23:39 · 344 阅读 · 0 评论 -
[leetcode]22. Generate Parentheses
leetcode 22. Generate Parentheses递归解原创 2016-07-01 14:47:08 · 500 阅读 · 0 评论 -
[leetcode]93. Restore IP Addresses
[leetcode]93. Restore IP Addresses 字符串处理原创 2016-05-31 19:41:11 · 422 阅读 · 0 评论 -
[leetcode]75. Sort Colors
leetcode 75. sort colors 三元素数组排序原创 2016-05-31 00:11:52 · 454 阅读 · 0 评论 -
[leetcode]41. First Missing Positive
leetcode 41.First Missing Positive 最小正数。使用了hash的概念,但是在原址进行操作原创 2016-05-27 13:59:26 · 564 阅读 · 0 评论 -
[leetcode]69. Sqrt(x)
leetcode 69. Sqrt(x)原创 2016-05-26 00:17:08 · 350 阅读 · 0 评论 -
[leetcode]231. Power of Two
leetcode 231 Power of Two原创 2016-05-25 22:58:05 · 146 阅读 · 0 评论 -
[leetcode]18. 4Sum
leetcode解题记录,18. 4Sum原创 2016-05-25 00:11:41 · 272 阅读 · 0 评论 -
[leetcode]3. Longest Substring Without Repeating Characters
[leetcode]3. Longest Substring Without Repeating Characters 求最长不重复子集的长度。使用了贪心算法,时间复杂度O(n).原创 2016-07-26 12:50:18 · 466 阅读 · 0 评论