266 Commits

Author SHA1 Message Date
Hao Chen
d648361097 New Problem "Peeking Iterator" 2015-11-10 09:25:03 +08:00
Hao Chen
c0229657f7 correct the algorithm from O(n) to O(log(n)) 2015-11-08 12:55:31 +08:00
Hao Chen
d173f1e6de add a bit more clear implementation 2015-11-08 12:54:02 +08:00
Calinescu Valentin
80eba4ceec Merge pull request #85 from Vally79/master
added longestIncreasingSubsequence
2015-11-06 15:12:33 +02:00
Vally
27087dac29 added longestIncreasingSubsequence 2015-11-06 15:11:34 +02:00
Calinescu Valentin
99f5133fb7 Merge pull request #84 from Vally79/master
added bullsAndCows
2015-11-04 17:29:08 +02:00
Vally
376a7ebe90 added bullsAndCows 2015-11-04 17:27:49 +02:00
Hao Chen
3475545441 Merge branch 'master' of github.com:haoel/leetcode 2015-11-04 08:31:09 +08:00
Hao Chen
9b15c6aeac comments 2015-11-04 08:30:53 +08:00
Calinescu Valentin
a4ea8c6e01 Merge pull request #83 from Vally79/master
added binaryTreePaths and h-Index_II
2015-11-03 21:33:01 +02:00
Vally
65427e833b added binaryTreePaths and h-Index_II 2015-11-03 21:32:13 +02:00
Calinescu Valentin
edc90061b0 Merge pull request #82 from xusiwei/master
new solutions of "Populating Next Right Pointers in Each Node"
2015-11-03 20:51:22 +02:00
Siwei Xu
bdd315b1a7 new solutions of "Populating Next Right Pointers in Each Node"
1) level order traversal by a explicit queue
2) constant space, use `next` pointer to represent the queue
2015-10-26 18:44:33 +08:00
Hao Chen
f874fde0ac New Problem "Perfect Squares" 2015-10-25 22:24:49 +08:00
Hao Chen
1ba3b95ba7 Another implemtation which is easy to understand 2015-10-25 21:29:38 +08:00
Hao Chen
f7e17dbda0 Merge pull request #79 from cijianzy/master
updated README
2015-10-25 20:28:56 +08:00
cijianzy
854cb09331 updated README 2015-10-25 00:51:39 +08:00
Hao Chen
8c3448aecb correct the algorithm to meet the problem's requirement - the array is ready only 2015-10-23 08:41:27 +08:00
Hao Chen
5b43c59419 Merge branch 'master' of github.com:haoel/leetcode 2015-10-22 23:47:23 +08:00
Hao Chen
2674c338c0 New Problem "Word Pattern" 2015-10-22 23:46:43 +08:00
Hao Chen
3e2fc1606f Merge pull request #77 from Vally79/master
added h-Index
2015-10-22 22:59:18 +08:00
Vally
bd0765d83c added h-Index 2015-10-22 15:40:08 +03:00
Hao Chen
43b07877c1 New Problem "Integer to English Words" 2015-10-22 02:01:40 +08:00
Hao Chen
68b953b71a New Problem "Missing Number" 2015-10-22 00:11:02 +08:00
Hao Chen
8aa501a205 Merge pull request #76 from Vally79/master
added moveZeroes
2015-10-21 17:32:01 +08:00
Hao Chen
8b78fe1eb1 New Problems - "Ugly Number I/II" 2015-10-21 17:26:01 +08:00
Vally
d25045f2fa added moveZeroes 2015-10-21 11:30:03 +03:00
Hao Chen
a847507926 Merge pull request #75 from Vally79/master
added findTheDuplicateNumber
2015-10-20 09:30:42 +08:00
Vally
afecf796cd updated README 2015-10-20 01:28:39 +03:00
Calinescu Valentin
404321dccb Delete findTheDuplicateNumber.cpp~ 2015-10-20 01:28:39 +03:00
Vally
04e949948c added FindTheDuplicateNumber 2015-10-20 01:28:38 +03:00
Hao Chen
a2544e092d Merge branch 'master' of github.com:haoel/leetcode 2015-10-19 21:02:20 +08:00
Hao Chen
b9e75ca293 Merge branch 'Vally79-master' 2015-10-19 20:59:27 +08:00
Hao Chen
71338d92db paper works for "Nim Game" 2015-10-19 20:59:01 +08:00
Hao Chen
80f6de0bc9 Merge branch 'master' of https://github.com/Vally79/leetcode into Vally79-master 2015-10-19 20:51:21 +08:00
Hao Chen
740b58e622 Merge pull request #73 from xusiwei/master
new solution of "Binary Tree Zigzag Level Order Traversal"
2015-10-19 20:48:26 +08:00
Hao Chen
87a21b404a C++ New Problem - "First Bad Version" 2015-10-19 20:39:54 +08:00
Hao Chen
fe2a44cea8 bug fix 2015-10-19 20:32:00 +08:00
Vally
439d58b3e6 added nimGame 2015-10-19 15:17:45 +03:00
Hao Chen
9004e445a7 correct the link text of Java 2015-10-19 16:16:26 +08:00
Hao Chen
60ccf4804e Support the MacOS (To be compatible with MacOS, some of code really to 'sed' are really mass) 2015-10-19 16:12:50 +08:00
xusiwei1236
681ea0953e new solution of "Binary Tree Zigzag Level Order Traversal" 2015-10-18 15:02:36 +08:00
Hao Chen
174e9e47c2 fix the conflicts for README.md 2015-10-18 12:00:43 +08:00
Hao Chen
5a24294906 Merge branch 'timothyylim-master' 2015-10-18 11:57:05 +08:00
Hao Chen
7a13e40df4 add more solutions and explanation 2015-10-18 11:56:28 +08:00
Hao Chen
2ae8b5d34a fix #68 2015-10-18 10:46:30 +08:00
Hao Chen
5222201380 re-orgnized the directory structure 2015-10-18 10:42:52 +08:00
Hao Chen
5d3bf497e6 Merge pull request #71 from lei-cao/master
Java version
2015-10-18 10:17:22 +08:00
Hao Chen
248428c5f3 Merge pull request #72 from xusiwei/master
new solution of "Binary Tree Level Order Traversal"
2015-10-18 10:13:54 +08:00
xusiwei1236
033ffe88a6 new solution of "Binary Tree Level Order Traversal" 2015-10-16 22:09:07 +08:00