340 Commits

Author SHA1 Message Date
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
Hao Chen
e9bc995f5d fix link error in readme 2015-04-01 09:11:39 +08:00
Hao Chen
ba577747fc Readme 2015-04-01 09:09:28 +08:00
Hao Chen
899e393a58 rename the directory & add shell problems 2015-03-31 15:09:15 +08:00
Hao Chen
766f6c65b2 Adapting the new url and shell problems 2015-03-31 15:08:20 +08:00
Hao Chen
19e35e0e4b Four new problems - "Number of 1 Bits", "Reverse Bits", "Rotate Array", "Best Time to Buy and Sell Stock IV" 2015-03-31 10:51:59 +08:00
Hao Chen
44c2860a38 Merge branch 'master' of github.com:haoel/leetcode 2015-02-09 16:18:46 +08:00
Hao Chen
cf63813153 New Problem "Repeated DNA Sequences" 2015-02-09 16:18:22 +08:00
Hao Chen
4e31a9f22b New Problem "Reverse Words in a String II" 2015-02-09 14:43:49 +08:00
Hao Chen
4b73a1dc26 fix the sytanx issue in README.md 2015-02-04 15:45:07 +08:00
Hao Chen
423ad37cd5 update scripts' readme and fix #50 2015-02-04 12:04:14 +08:00
Hao Chen
6a1d68cd2c support 32bits liunx 2015-02-04 11:59:43 +08:00
Hao Chen
ab5348c1eb add some comments for "Minimum Window Substring" 2015-02-04 11:47:25 +08:00
Hao Chen
35989aff42 Merge jakwings patch fix #49 2015-02-04 10:17:22 +08:00
Hao Chen
21079e5c13 Merge branch 'master' of github.com:haoel/leetcode 2015-02-04 09:55:47 +08:00
Jak Wings
c472178bdb fix
Added one test case: isMatch("*aa", "*a")
2015-02-04 09:55:09 +08:00
Hao Chen
961e0bdefc a fix for Wildcard Matching 2015-02-04 09:50:20 +08:00
Hao Chen
859e312c9e Update README.md 2015-01-25 23:32:09 +08:00
Hao Chen
fe18df930c rewrite the script to fix issue#45 2015-01-25 23:23:56 +08:00
Hao Chen
86a4a165ef remove garbage in comment 2015-01-16 01:16:03 +08:00
Hao Chen
e3ae780ea8 New Problem "Largest Number" 2015-01-16 01:13:38 +08:00
Hao Chen
8ace5ed670 New Problem "Dungeon Game" 2015-01-16 00:38:19 +08:00
Hao Chen
fde26df692 New Problem "Binary Search Tree Iterator" 2014-12-31 21:48:42 +08:00
Hao Chen
9804379985 Merge branch 'jakwings-patch' 2014-12-30 22:33:24 +08:00
Hao Chen
0cccc8a64e read some the comments 2014-12-30 22:33:05 +08:00
Jak Wings
7c511ddfe7 avoid unnecessary calculations to speed up 2014-12-30 22:28:24 +08:00
Hao Chen
a54003a598 a bit code optimization to resolve #23 PR 2014-12-30 22:18:35 +08:00
Hao Chen
428777d880 Merge branch 'FreeJoker-patch' 2014-12-30 22:00:55 +08:00
Hao Chen
843db5ce36 update the problem "Balanced Binary Tree" 2014-12-30 22:00:05 +08:00
Hao Chen
7268885dc8 Merge branch 'patch-1' of https://github.com/FreeJoker/leetcode-1 into FreeJoker-patch 2014-12-30 21:52:59 +08:00
Hao Chen
5217f8e505 fix the integer overflow issue 2014-12-30 21:24:47 +08:00
Hao Chen
175976a869 another solution for "Factorial Trailing Zeroes" 2014-12-30 18:01:28 +08:00
Hao Chen
3359f2107b fix integer overflow issue 2014-12-30 17:56:57 +08:00
Hao Chen
f118acb4ee New Problem "Factorial Trailing Zeroes" 2014-12-30 10:13:57 +08:00
Hao Chen
0950d3f2f6 update readme 2014-12-29 21:44:10 +08:00
Hao Chen
878cda2bdb New Problem "Excel Sheet Column Number" 2014-12-29 21:40:44 +08:00
Hao Chen
d38122f7fc New Problem "Two Sum III - Data structure design" 2014-12-29 21:39:57 +08:00
Hao Chen
5d6429d79f add a case to check if the return value is overflowed, and slight optimization 2014-12-29 20:50:57 +08:00
Hao Chen
8099be0c98 fix a bug which passed wrong size to memset() 2014-12-29 19:01:29 +08:00
Hao Chen
3202fed285 update README.md 2014-12-25 11:28:57 +08:00
Hao Chen
2bcb2490c6 New Problem "Two Sum II - Input array is sorted" 2014-12-25 10:37:43 +08:00
Hao Chen
9aa233f795 New Problem "Majority Element" 2014-12-25 10:26:46 +08:00