leetcode
文章平均质量分 75
xiaomaolearnCoding
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
N sum Question
N sum Question 2 sum, 3 sum and 3 Sum closet 4 sum - > K sum原创 2015-01-10 06:59:41 · 396 阅读 · 0 评论 -
Reverse String Question
Reverse String Question 1 Reverse the string word by word (from leetcode) For example, Given s = "the sky is blue", return "blue is sky the". Clarification: What constitutes a word? A sequence原创 2015-01-14 08:17:41 · 442 阅读 · 0 评论 -
Factorial Trailing Zeros
leetcode question Given an integer n, return the number of trailing zeroes in n!.Your solution should be in logarithmic time complexity. need to pay attention basic situation is N <= 0, no zero!原创 2015-01-13 08:14:26 · 1616 阅读 · 0 评论 -
Path Sum
最开始觉得很简单dfs的题,但是再做的时候才发现第一次做的时候很多问题并没有想清楚想明白结合面经把这道题重新做一遍。 1 Path Sum from root to leaf leetcode原题 pathsumii Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equ原创 2015-03-08 06:50:05 · 387 阅读 · 0 评论 -
Remove duplicate 问题
leetcode上有四道题,主要是remove from linked list和array 都是two pointer解决,要注意终止条件,还有移动指针时条件原创 2015-04-08 05:44:29 · 1018 阅读 · 0 评论
分享