412 Commits

Author SHA1 Message Date
Damon Zhao
b6703de952 fix index out of range
If input data is `[0]` for the first function and `[1]` for the second function, there are runtime error of index out of range.
2017-01-18 22:59:02 +08:00
Calinescu Valentin
69af6e87eb Merge pull request #129 from Vally79/master
added totalHammingDistance
2017-01-09 14:04:40 +02:00
Vali
32004e889c added totalHammingDistance 2017-01-09 14:02:59 +02:00
Hao Chen
4c76459206 New Problem Solution "Reconstruct Itinerary" 2017-01-06 11:00:43 +08:00
Hao Chen
1ad88addda New Problem Solution "Verify Preorder Serialization of a Binary Tree" 2017-01-06 09:57:06 +08:00
Hao Chen
ae37022cea New Problem Solution "Wiggle Sort II" 2017-01-02 22:24:20 +08:00
Hao Chen
32de3e8568 New Problem Solution - "Maximum Product of Word Lengths" 2017-01-02 17:30:54 +08:00
Hao Chen
add654df98 New Problem Solution "Remove Duplicate Letters" 2017-01-02 15:39:10 +08:00
Hao Chen
49e3b3ad73 fix: forgot commit the "Find the Difference" 2017-01-02 10:22:14 +08:00
Hao Chen
fe2be9918b New Problem Solution - "Super Ugly Number" 2017-01-02 10:20:53 +08:00
Hao Chen
94e78a875d Merge pull request #128 from omengye/patch-1
array index out of bounds, fix to low<n-1
2017-01-02 09:34:34 +08:00
omengye
3ad9d0818f array index out of bounds, fix to low<n-1 2016-12-26 22:23:55 +08:00
Hao Chen
48715afb80 New Problem Soluiton "Split Array Largest Sum" 2016-11-13 23:42:51 +08:00
Hao Chen
33624b303a New Problem Solution "Longest Palindrome" 2016-11-13 22:42:48 +08:00
Hao Chen
7159e86637 New Problem Solution "Fizz Buzz" 2016-11-13 12:28:51 +08:00
Hao Chen
2acf20aed9 New Problem "Arithmetic Slices" 2016-11-13 11:59:17 +08:00
Hao Chen
df6a69fefc adjust the file's directory 2016-11-12 18:57:20 +08:00
Hao Chen
0e42e75b9b New Problem Solution "Add Strings" 2016-11-12 18:50:43 +08:00
Hao Chen
617bd30a36 New Problem Solution "Queue Reconstruction by Height" 2016-11-12 18:20:11 +08:00
Hao Chen
262af3ad6e New Problem Solution "Frog Jump" 2016-11-12 17:20:19 +08:00
Hao Chen
d7c06e5ea1 New Problem Solution "Convert a Number to Hexadecimal" 2016-11-12 00:38:26 +08:00
Hao Chen
e281e316c3 fix: change the direcotry 2016-11-12 00:31:03 +08:00
Hao Chen
f01f430df5 New Problem Solution "Sum of Left Leaves" 2016-11-12 00:17:28 +08:00
Hao Chen
f9e39149f0 New Problem Solution - "Remove K Digits" 2016-11-11 23:54:58 +08:00
Hao Chen
de4e889662 make the variables name more sense 2016-11-05 22:31:23 +08:00
Hao Chen
9d724f2189 New Problem Solution "Binary Watch" 2016-11-05 22:23:05 +08:00
Hao Chen
a075b78b35 New Problem Solution "Nth Digit" 2016-11-05 14:57:57 +08:00
Hao Chen
02fd2b75d6 New Problem Solution "Evaluate Division" 2016-11-05 00:51:36 +08:00
Hao Chen
4be78f8f04 New Problem Solution "Random Pick Index" 2016-11-04 08:36:53 +08:00
Hao Chen
b5b162281c New Problem Solution "Integer Replacement" 2016-11-04 08:10:37 +08:00
Hao Chen
e7ae7a539a New Problem Solution "Rotate Function" 2016-11-03 00:21:41 +08:00
Hao Chen
6495859fcc correct the URL of "Elimination Game" 2016-11-02 23:35:39 +08:00
Hao Chen
88ce1e6ffb Merge pull request #101 from xusiwei/master
union-find solution for "Surrounded Regions",
2016-10-10 12:49:48 +08:00
Hao Chen
d15ab9979b Merge pull request #122 from FEIGONG/master
modified:   algorithms/cpp/maximumDepthOfBinaryTree/maximumDepthOfBi…
2016-10-10 12:46:11 +08:00
Hao Chen
e608955111 New Problem Solution"Longest Substring with At Least K Repeating Characters" 2016-09-08 01:48:16 +08:00
Hao Chen
8034e23c14 New Problem Solution "UTF-8 Validation" 2016-09-08 01:44:30 +08:00
Hao Chen
638bc71b7f New Problem "Is Subsequence" 2016-09-08 01:42:00 +08:00
Hao Chen
99b2a148b3 New Problem Solution "Perfect Rectangle" 2016-09-08 01:39:42 +08:00
Hao Chen
a7d7176fea New Problem Solution "Elimination Game" 2016-09-08 01:36:50 +08:00
Hao Chen
8884d61d2a New Problem Solution - "Find the Difference" 2016-09-08 01:15:02 +08:00
Hao Chen
a684f4b9f2 add readme.sh script to help to generate the content in README.md for each problem 2016-09-08 01:11:56 +08:00
huangxiaofei
d31dac6113 modified: algorithms/cpp/maximumDepthOfBinaryTree/maximumDepthOfBinaryTree.cpp
使用 max 函数以及递归 精简实现
2016-08-31 10:47:51 +08:00
Hao Chen
450b9ec935 Two Problems Solutions - "Insert Delete GetRandom O(1)" 2016-08-25 18:01:24 +08:00
Hao Chen
6351e780f5 New Problem Solution - "Linked List Random Node" 2016-08-24 14:10:53 +08:00
Hao Chen
d61801b8ba New Problem Solution - "Ransom Note" 2016-08-24 13:24:30 +08:00
Hao Chen
04f616ece5 New Problem Solution - "Shuffle an Array" 2016-08-24 13:22:08 +08:00
Hao Chen
c233873748 New Problem Solution - "Mini Parser" 2016-08-24 12:30:18 +08:00
Hao Chen
bb4f2b35cb uncomment the code 2016-08-24 11:06:07 +08:00
Hao Chen
0639f1583e typo 2016-08-23 14:11:46 +08:00
Hao Chen
f41644f747 New Problem "Longest Absolute File Path" 2016-08-23 14:09:10 +08:00