266 Commits

Author SHA1 Message Date
Hao Chen
0d1d25f86e improve the comments (resolves #29) 2014-11-20 11:17:33 +08:00
Hao Chen
9cc5c3fe56 Merge branch 'master' of https://github.com/t3dbundy/leetcode into t3dbundy-path 2014-11-20 10:43:41 +08:00
Hao Chen
356254b918 fix issue#32, and make the code more clean 2014-11-20 10:12:52 +08:00
t3dbundy
765b89f5a8 Update addTwoNumbers.cpp
Use pointer to pointer to simplify logic
2014-11-20 10:07:48 +08:00
Hao Chen
3fbb652b8a add default test number 2014-11-19 18:52:48 +08:00
Hao Chen
058a583e90 Merge branch 'keenbin7-patch' 2014-11-19 18:51:16 +08:00
Hao Chen
3e43c3a7ee simplify the code 2014-11-19 18:51:01 +08:00
keenbin7
1117ffbf04 Update pascalTriangle.II.cpp
At first, the vector doesn't have element at rowIndex.
2014-11-19 17:14:24 +08:00
Hao Chen
b0ffb4d67e Add comments to explain the solutions 2014-11-19 00:14:24 +08:00
Hao Chen
44c713105b Add explaination for "Single Number I/II" 2014-11-18 10:45:09 +08:00
Hao Chen
8dfaebf5d4 Binary Tree Upside Down 2014-11-17 22:58:29 +08:00
Hao Chen
6bf0ecedd9 fix the INT_MIN definition issue 2014-11-17 20:55:58 +08:00
Hao Chen
71905c31cf fix the integer overflow issue 2014-11-17 20:55:17 +08:00
Hao Chen
1e0de5bc5e Merge branch 'jakwings-patch' 2014-11-17 11:59:24 +08:00
Hao Chen
4cae32abc3 add some comments 2014-11-17 11:58:56 +08:00
Hao Chen
f59880fd2e Merge branch 'patch-3' of https://github.com/jakwings/leetcode into jakwings-patch 2014-11-17 11:52:51 +08:00
Hao Chen
c5b6960f98 add some comments 2014-11-17 11:44:03 +08:00
Hao Chen
c8f7e2fb90 Merge branch 'patch-4' of https://github.com/jakwings/leetcode into jakwings-patch 2014-11-17 11:42:41 +08:00
Hao Chen
0f0fac9ffd Merge branch 'patch-1' of https://github.com/jakwings/leetcode into jakwings-patch 2014-11-17 11:36:33 +08:00
Hao Chen
6f0059ac0f remove copyright.sh 2014-11-17 11:12:21 +08:00
Hao Chen
3f656f1b21 some useful scripts 2014-11-17 11:10:35 +08:00
Hao Chen
3cb20a68fa new problem's solution 2014-11-17 11:09:24 +08:00
Hao Chen
dff39d00a4 add some explaination 2014-11-17 11:08:06 +08:00
Jak Wings
072f548b75 amend the explanation of the second solution 2014-11-17 03:24:44 +08:00
Hao Chen
3dec9c4094 add acceptable DP solution for Longest Palindrome 2014-11-16 20:45:12 +08:00
Jak Wings
bce22bf67d no twisted mathematical hack 2014-11-15 14:59:26 +08:00
Jak Wings
04a4d34dd9 [Anagrams] Reduce memory cost
By changing `map<string, string>` to `map<string, int>` to reduce memory cost.
2014-11-12 15:46:14 +08:00
Hao Chen
712e5ccdef Merge branch 'master' of github.com:haoel/leetcode 2014-11-12 10:41:30 +08:00
Hao Chen
6c50278a57 Merge pull request #20 from jakwings/patch-1
[Binary Tree Postorder Traversal] reduce the run-time complexity of vector operation.
2014-11-12 10:40:38 +08:00
Hao Chen
ecfc71017e typo fix 2014-11-12 10:30:47 +08:00
Jak Wings
cfe137ce56 use a not so expensive trick 2014-11-10 01:00:04 +08:00
Hao Chen
5775d1d563 Merge branch 'master' of github.com:haoel/leetcode 2014-11-05 00:22:36 +08:00
Hao Chen
33f3f48533 Add comments to explain the solutions 2014-11-05 00:21:28 +08:00
Hao Chen
6d790d6470 Merge pull request #17 from chaoxu1990/master
Update copyListWithRandomPointer.cpp
2014-11-03 11:36:43 +08:00
chaoxu1990
36f46fe73f Update copyListWithRandomPointer.cpp 2014-11-02 18:29:51 -08:00
Hao Chen
a1647bed95 Merge branch 'master' of github.com:haoel/leetcode 2014-10-31 15:38:55 +08:00
Hao Chen
e2be44a8e0 Add comments to explain the solutions 2014-10-31 15:37:20 +08:00
Hao Chen
041aaf1ec1 issue #13 2014-10-30 11:33:58 +08:00
Hao Chen
33c74f20dd Add comments to explain the solutions 2014-10-30 11:25:39 +08:00
Hao Chen
540738b55b Add comments to explain the solutions 2014-10-27 22:43:09 +08:00
Hao Chen
55b0a2b99f Add comments to explain the solutions 2014-10-27 13:11:02 +08:00
Hao Chen
148d03982a Add comments to explain the solutions 2014-10-27 02:04:30 +08:00
Hao Chen
f053ee57e5 Merge branch 'Omar002-patch-1' 2014-10-27 01:03:52 +08:00
Hao Chen
c6d81850da refine the ouput function name 2014-10-27 01:03:36 +08:00
OmarYang
6477df111e format output 2014-10-26 18:32:18 +08:00
Hao Chen
bc100bce31 Add comments to explain the solutions 2014-10-25 23:05:57 +08:00
Hao Chen
0858fdb3d9 Add comments to explain the solution 2014-10-25 14:03:40 +08:00
Hao Chen
72a94d0201 merge fix 2014-10-25 00:12:42 +08:00
Hao Chen
d1701595c9 Merge branch 'JQT-patch-1' 2014-10-25 00:10:13 +08:00
Hao Chen
14c87ab0c7 bug fix 2014-10-25 00:09:46 +08:00