200 Commits

Author SHA1 Message Date
Lei Cao
4891b26741 98: validate binary search tree divide && conquer 2015-10-07 18:49:59 +08:00
Lei Cao
45b63bd45f 98: validate binary search tree 2015-10-06 23:15:46 +08:00
Lei Cao
1287735696 Updated title 2015-10-06 23:14:35 +08:00
Lei Cao
06e419fc31 BFS 2015-10-06 23:11:35 +08:00
Lei Cao
9db0a72c94 BFS 2015-10-06 00:42:08 +08:00
Lei Cao
247c8e1358 144 binary tree preorder traversal 2015-10-06 00:41:28 +08:00
Lei Cao
0af920fa59 01 updated the title 2015-10-05 23:03:18 +08:00
Lei Cao
244efd60bf 01 search in a big sorted array 2015-10-05 23:02:21 +08:00
Lei Cao
92d4b8b82f 104 maximum depth of binary tree 2015-10-05 22:57:53 +08:00
Lei Cao
cf3253909c 153 find minimum in rotated sorted array 2015-10-05 19:33:56 +08:00
Lei Cao
fbb9eac64f 162 find peak element 2015-10-05 15:58:37 +08:00
Lei Cao
e4dd1508c6 278 first bad version 2015-10-05 10:47:24 +08:00
Lei Cao
9089adb06c 32 search in the rotated sorted array 2015-10-04 01:06:22 +08:00
Lei Cao
a3d6c23b7a 74 search a 2D matrix 2015-10-03 20:20:21 +08:00
Lei Cao
edd5ca2ad4 Fixed path 2015-10-03 19:50:38 +08:00
Lei Cao
3917f24545 33 search for a range 2015-10-03 19:49:42 +08:00
Lei Cao
eaed2d39a5 34 search insert position 2015-10-03 19:33:56 +08:00
Lei Cao
3d3095bc6b 91 subsetsII 2015-10-03 01:02:08 +08:00
Lei Cao
35b3c08282 78 subsets 2015-10-02 23:54:07 +08:00
Lei Cao
143bbee6f2 Updated the filepath 2015-10-02 16:59:10 +08:00
Lei Cao
7367746fce 27 Implement strStr() 2015-10-02 16:57:22 +08:00
Lei Cao
3d3224f519 Set up java env 2015-10-02 16:56:52 +08:00
Hao Chen
e6917d7861 refine the comments 2015-08-16 23:27:16 +08:00
Hao Chen
e5b694605f optimzation 2015-08-16 19:48:03 +08:00
Hao Chen
ceb4d1a22f fix the link error 2015-08-16 00:15:32 +08:00
Hao Chen
5f513544a1 1) Three New Problems
- Search 2D Matrix II
   - Different Ways to Add Parentheses
   - Valid Anagrm

2) Update the "Anagrams" to "Group Anagrams"

3) Update the problem description of "Happy Number"
2015-08-16 00:10:42 +08:00
Hao Chen
74d83796aa New Problem "Sliding Window Maximum" 2015-07-20 09:39:04 +08:00
Hao Chen
9ecbd01125 Merge pull request #54 from lit0908/leetcode-1-use-unordered_map
Use unordered_map to improve performance
2015-07-17 12:33:52 +08:00
Hao Chen
42e52f91ee Merge pull request #59 from rogerdai16/patch-1
thanks so much! very good code work!
2015-07-17 12:14:10 +08:00
Hao Chen
6b88dcbb21 Two New Problems "Delete Node in a Linked List" & "Product of Array Except Self" 2015-07-17 12:07:36 +08:00
Hao Chen
afd3a244be New Problem "Lowest Common Ancestor of a Binary Tree" 2015-07-17 09:29:56 +08:00
Hao Chen
ec87683617 New Problem "Lowest Common Ancestor of a Binary Search Tree" 2015-07-17 01:02:47 +08:00
Hao Chen
64edbcd110 New Problem "Palindrome Linked List" 2015-07-17 00:46:56 +08:00
Hao Chen
2c550dec31 New Problem "Number of Digit One" 2015-07-17 00:29:20 +08:00
Hao Chen
aff8d988de fix a link error 2015-07-16 10:33:08 +08:00
Hao Chen
c4a39d0c8f Two New Problems - "Implement Queue using Stacks", "Power of Two" 2015-07-16 10:31:52 +08:00
Qinghao Dai
ccb061878c Update list cycle I
shorter version and better naming.
use a do...while loop to express logic more clearly.
2015-07-07 00:07:29 -07:00
Hao Chen
70cdf5aa63 1)bug fixing: if a source is empty, the comments cannot be inserted, 2)automaticly wrap the comments if it is too long. 2015-07-05 00:41:16 +08:00
Hao Chen
8edd75c41c Three New Problems 2015-07-03 13:07:38 +08:00
Hao Chen
5f8266df8c New Problem "Basic Calculator II" 2015-06-24 12:08:48 +08:00
Hao Chen
0883f1c53c Three Problems "Basic Calculator", "Implement Stack Using Queues", "Invert Binary Tree" 2015-06-13 01:45:32 +08:00
Hao Chen
08f3ae03dd New Problem "Rectangle Area" 2015-06-12 17:23:01 +08:00
Hao Chen
df3b3d3020 New Problem "Count Complete Tree Nodes" 2015-06-12 14:59:24 +08:00
Hao Chen
731c15e3da New Problem "Maximal Square" 2015-06-12 14:29:46 +08:00
Hao Chen
0212ca60ca fix the issue of problem's description 2015-06-12 13:50:16 +08:00
Hao Chen
323a979954 Two New Problems "Contains Duplicate II/III" 2015-06-12 10:27:50 +08:00
Hao Chen
9c0055060c New Problem "The Skyline Problem" 2015-06-12 09:13:26 +08:00
Hao Chen
1d6efde970 New Problem "Contains Duplicate" 2015-06-11 21:32:41 +08:00
Hao Chen
7b0c847bf1 New Problem "Combination Sum III" 2015-06-11 19:02:39 +08:00
Hao Chen
0e416805e6 New Problem "Kth Largest Element in an Array" 2015-06-11 18:34:22 +08:00