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 |
|
Hao Chen
|
9fa4e3f93c
|
New Problem "Excel Sheet Column Title"
|
2014-12-25 09:55:43 +08:00 |
|
Hao Chen
|
658c790751
|
typo fixes
|
2014-12-17 14:08:08 +08:00 |
|
Hao Chen
|
846045ca37
|
update the new better solution for "Fraction to Recurring Decimal"
|
2014-12-17 14:04:34 +08:00 |
|
Hao Chen
|
c2484724ce
|
new problems
|
2014-12-17 00:36:02 +08:00 |
|
Hao Chen
|
ebaeddfd1a
|
New Problem - "Maximum Gap "
|
2014-12-17 00:29:54 +08:00 |
|
Hao Chen
|
e788521188
|
New Problem - "Fraction to Recurring Decimal"
|
2014-12-16 22:58:13 +08:00 |
|
Hao Chen
|
0841287dc5
|
New Problem - "Compare Version Numbers"
|
2014-12-16 18:17:59 +08:00 |
|
Hao Chen
|
aeb53c3abd
|
Add notes for "heart" mark in readme
|
2014-12-11 23:38:37 +08:00 |
|
Hao Chen
|
50e3bc3459
|
new problem "Missing Ranges"
|
2014-12-11 23:33:45 +08:00 |
|
Hao Chen
|
94cfacfd9c
|
using int instead of char for the counter map
|
2014-12-06 09:51:49 +08:00 |
|
Hao Chen
|
e9884b32d2
|
new problem "Find Peak Element"
|
2014-12-05 21:39:27 +08:00 |
|
Hao Chen
|
a0dd575318
|
new problem "One Edit Distance "
|
2014-12-03 17:51:34 +08:00 |
|
Hao Chen
|
8ad32f6697
|
Merge branch 'jakwings-patch'
|
2014-12-01 14:20:26 +08:00 |
|
Hao Chen
|
949acc5421
|
Merge branch 'patch-3' of https://github.com/jakwings/leetcode into jakwings-patch
|
2014-12-01 14:19:40 +08:00 |
|
Hao Chen
|
e6fdaded78
|
new problems
|
2014-12-01 14:06:40 +08:00 |
|
Hao Chen
|
8d8baaa9ce
|
Merge branch 'jakwings-patch'
|
2014-11-30 10:41:16 +08:00 |
|
Hao Chen
|
35a7ce76f8
|
add some comments
|
2014-11-30 10:40:45 +08:00 |
|
Hao Chen
|
a41e4b396b
|
Merge pull request #37 from gdqyn/master
modify wordSearch.cpp complile error
|
2014-11-30 10:09:57 +08:00 |
|
JOKER
|
81135fa92f
|
reduce time complexity O(n²) to O(n)
the solution can be optimized by calculating the height in the same recursion rather than calling a height() function separately.
|
2014-11-29 18:42:54 +08:00 |
|
Jak Wings
|
be5c0e0c3d
|
Pointers to pointers are very useful for tracking a node.
|
2014-11-28 18:14:34 +08:00 |
|
gdqyn
|
907b0f3c02
|
modify wordSearch.cpp complile error
|
2014-11-26 18:07:43 +08:00 |
|
Jak Wings
|
616f02d7a1
|
more readable code
|
2014-11-24 23:11:17 +08:00 |
|
Hao Chen
|
ae1f15ba77
|
Read N Characters Given Read4
|
2014-11-20 17:59:45 +08:00 |
|
Hao Chen
|
8711a9ae13
|
add O(1) space solution for "First Missing Positive" problem. fixed #19
|
2014-11-20 16:27:09 +08:00 |
|
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 |
|