181 Commits

Author SHA1 Message Date
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
Hao Chen
cefa6fc282 New Problem "Shortest Palindrome" 2015-06-11 17:28:05 +08:00
Hao Chen
0b5710948d New Problem "House Robber II" 2015-06-10 20:37:12 +08:00
Hao Chen
98ffa55553 New Problem "Word Search II" 2015-06-10 18:24:16 +08:00
Hao Chen
e3d7ff612a New Problem "Add and Search Word - Data structure design" 2015-06-10 16:43:22 +08:00
Hao Chen
3241361e7a New Prolbem "Course Schedule II" 2015-06-10 09:51:11 +08:00
Hao Chen
3eea06551a adjust the comment length 2015-06-09 23:42:35 +08:00
Hao Chen
5251bee7b1 New Problem "Minimum Size Subarray Sum" 2015-06-09 23:41:12 +08:00
Hao Chen
49ef1c074d New Problem "Implement Trie (Prefix Tree)" 2015-06-09 22:48:31 +08:00
Hao Chen
290dd59546 New Problem "Course Schedule" 2015-06-09 14:37:45 +08:00
Hao Chen
eccaf5d590 New Problem "Reverse Linked List " 2015-06-09 09:51:47 +08:00
Hao Chen
6836b5c7cf New Problem "Isomorphic Strings" 2015-06-09 09:27:55 +08:00
Hao Chen
7d3a924402 New Problem "Count Primes" 2015-06-09 00:52:12 +08:00
Hao Chen
c523cbeb52 New Problem "Remove Linked List Elements" 2015-06-09 00:50:23 +08:00
Hao Chen
fe6574fe96 remove debug information 2015-06-08 20:06:40 +08:00
Hao Chen
6d21b3d945 New Problem "Happy Number" 2015-06-08 20:00:24 +08:00
Hao Chen
0ef24a6e40 New Problem "Bitwise AND of Numbers Range" 2015-06-08 09:42:35 +08:00
Hao Chen
ac0ea20e08 New Problem "Number of Islands" 2015-06-08 08:45:42 +08:00
Tong Li
2924ab2a18 Use unordered_map to improve performance 2015-05-28 00:15:51 +10:00
Hao Chen
407b5bae7b Two New Problems "House Robber" & "Binary Tree Right Side View" 2015-04-07 13:09:36 +08:00