LeetCode solutions with Chinese explanation & Summary of classic algorithms.
Go to file
2018-10-09 23:57:04 +08:00
001-Two Sum add 001-Two Sum 2018-07-15 20:57:01 +08:00
026-Remove Duplicates from Sorted Array add 26 2018-09-01 18:42:01 +08:00
7. Reverse Integer.md Create 7. Reverse Integer.md 2018-09-25 23:33:25 +08:00
9. Palindrome Number.md Create 9. Palindrome Number.md 2018-09-26 23:28:35 +08:00
13. Roman to Integer.md Create 13. Roman to Integer.md 2018-09-27 17:52:06 +08:00
14. Longest Common Prefix.md Create 14. Longest Common Prefix.md 2018-10-05 10:26:09 +08:00
20. Valid Parentheses.md Create 20. Valid Parentheses.md 2018-10-05 23:14:33 +08:00
21. Merge Two Sorted Lists.md Create 21. Merge Two Sorted Lists.md 2018-09-19 18:46:03 +08:00
35. Search Insert Position.md Create 35. Search Insert Position.md 2018-09-01 19:07:16 +08:00
38. Count and Say.md Create 38. Count and Say.md 2018-10-07 23:31:56 +08:00
53. Maximum Subarray.md Create 53. Maximum Subarray.md 2018-09-01 19:45:24 +08:00
58. Length of Last Word.md Create 58. Length of Last Word.md 2018-10-07 23:54:09 +08:00
66. Plus One.md Create 66. Plus One.md 2018-09-01 21:30:37 +08:00
67. Add Binary.md Create 67. Add Binary.md 2018-09-27 23:43:36 +08:00
69. Sqrt(x).md Create 69. Sqrt(x).md 2018-09-28 14:59:29 +08:00
83. Remove Duplicates from Sorted List.md Create 83. Remove Duplicates from Sorted List.md 2018-09-19 19:23:05 +08:00
88. Merge Sorted Array.md Create 88. Merge Sorted Array.md 2018-09-02 11:43:31 +08:00
027-Remove Element.md Create 027-Remove Element.md 2018-09-01 18:54:03 +08:00
118. Pascal's Triangle.md Create 118. Pascal's Triangle.md 2018-09-02 15:14:58 +08:00
119. Pascal's Triangle II.md Create 119. Pascal's Triangle II.md 2018-09-02 16:08:54 +08:00
121. Best Time to Buy and Sell Stock.md Create 121. Best Time to Buy and Sell Stock.md 2018-09-02 16:35:10 +08:00
122. Best Time to Buy and Sell Stock II.md Create 122. Best Time to Buy and Sell Stock II.md 2018-09-02 17:44:57 +08:00
125. Valid Palindrome.md Create 125. Valid Palindrome.md 2018-10-03 22:24:17 +08:00
136. Single Number.md Create 136. Single Number.md 2018-09-12 22:06:36 +08:00
141. Linked List Cycle.md Create 141. Linked List Cycle.md 2018-09-19 20:38:58 +08:00
160. Intersection of Two Linked Lists.md Create 160. Intersection of Two Linked Lists.md 2018-09-20 17:06:25 +08:00
167. Two Sum II - Input array is sorted.md Create 167. Two Sum II - Input array is sorted.md 2018-09-02 19:39:56 +08:00
168. Excel Sheet Column Title.md Create 168. Excel Sheet Column Title.md 2018-09-28 23:24:27 +08:00
169. Majority Element.md Update 169. Majority Element.md 2018-09-04 11:25:44 +08:00
171. Excel Sheet Column Number.md Create 171. Excel Sheet Column Number.md 2018-09-28 23:33:34 +08:00
172. Factorial Trailing Zeroes.md Create 172. Factorial Trailing Zeroes.md 2018-09-29 23:25:55 +08:00
189. Rotate Array.md Create 189. Rotate Array.md 2018-09-04 21:47:00 +08:00
202. Happy Number.md Create 202. Happy Number.md 2018-09-13 12:37:33 +08:00
203. Remove Linked List Elements.md Create 203. Remove Linked List Elements.md 2018-09-22 18:45:34 +08:00
204. Count Primes.md Create 204. Count Primes.md 2018-09-13 20:46:44 +08:00
205. Isomorphic Strings.md Update 205. Isomorphic Strings.md 2018-09-14 20:38:17 +08:00
206. Reverse Linked List.md Create 206. Reverse Linked List.md 2018-09-22 19:27:37 +08:00
217. Contains Duplicate.md Create 217. Contains Duplicate.md 2018-09-04 21:56:35 +08:00
219. Contains Duplicate II.md Create 219. Contains Duplicate II.md 2018-09-06 21:23:43 +08:00
231. Power of Two.md Create 231. Power of Two.md 2018-09-29 23:43:43 +08:00
234. Palindrome Linked List.md Create 234. Palindrome Linked List.md 2018-09-23 23:35:07 +08:00
237. Delete Node in a Linked List.md Create 237. Delete Node in a Linked List.md 2018-09-24 00:02:20 +08:00
242. Valid Anagram.md Create 242. Valid Anagram.md 2018-09-14 19:09:51 +08:00
258. Add Digits.md Create 258. Add Digits.md 2018-09-29 23:49:30 +08:00
263. Ugly Number.md Create 263. Ugly Number.md 2018-09-30 00:02:49 +08:00
268. Missing Number.md Create 268. Missing Number.md 2018-09-06 21:53:13 +08:00
283. Move Zeroes.md Create 283. Move Zeroes.md 2018-09-07 11:05:13 +08:00
290. Word Pattern.md Create 290. Word Pattern.md 2018-09-14 20:37:37 +08:00
326. Power of Three.md Create 326. Power of Three.md 2018-09-30 23:24:28 +08:00
344. Reverse String.md Create 344. Reverse String.md 2018-10-04 23:27:59 +08:00
345. Reverse Vowels of a String.md Create 345. Reverse Vowels of a String.md 2018-10-04 23:37:29 +08:00
349. Intersection of Two Arrays.md Create 349. Intersection of Two Arrays.md 2018-09-15 19:29:17 +08:00
350. Intersection of Two Arrays II.md Create 350. Intersection of Two Arrays II.md 2018-09-15 19:35:10 +08:00
367. Valid Perfect Square.md Create 367. Valid Perfect Square.md 2018-09-30 23:42:49 +08:00
383. Ransom Note.md Create 383. Ransom Note.md 2018-10-08 23:27:54 +08:00
387. First Unique Character in a String.md Create 387. First Unique Character in a String.md 2018-09-15 19:43:20 +08:00
389. Find the Difference.md Create 389. Find the Difference.md 2018-09-15 23:01:38 +08:00
400. Nth Digit.md Create 400. Nth Digit.md 2018-10-01 11:15:50 +08:00
409. Longest Palindrome.md Create 409. Longest Palindrome.md 2018-09-15 23:22:31 +08:00
414. Third Maximum Number.md Create 414. Third Maximum Number.md 2018-09-07 12:42:23 +08:00
415. Add Strings.md Create 415. Add Strings.md 2018-10-01 11:30:06 +08:00
434. Number of Segments in a String.md Create 434. Number of Segments in a String.md 2018-10-09 09:23:16 +08:00
438. Find All Anagrams in a String.md Create 438. Find All Anagrams in a String.md 2018-09-16 23:26:44 +08:00
441. Arranging Coins.md Create 441. Arranging Coins.md 2018-10-01 23:44:23 +08:00
443. String Compression.md Create 443. String Compression.md 2018-10-09 20:43:06 +08:00
447. Number of Boomerangs.md Create 447. Number of Boomerangs.md 2018-09-18 22:52:16 +08:00
448. Find All Numbers Disappeared in an Array.md Create 448. Find All Numbers Disappeared in an Array.md 2018-09-08 19:35:14 +08:00
453. Minimum Moves to Equal Array Elements.md Create 453. Minimum Moves to Equal Array Elements.md 2018-10-02 23:17:39 +08:00
459. Repeated Substring Pattern.md Create 459. Repeated Substring Pattern.md 2018-10-09 23:57:04 +08:00
463. Island Perimeter.md Create 463. Island Perimeter.md 2018-09-18 23:28:02 +08:00
485. Max Consecutive Ones.md Create 485. Max Consecutive Ones.md 2018-09-08 19:49:55 +08:00
500. Keyboard Row.md Create 500. Keyboard Row.md 2018-09-18 23:47:15 +08:00
532. K-diff Pairs in an Array.md Create 532. K-diff Pairs in an Array.md 2018-09-09 17:27:43 +08:00
561. Array Partition I.md Create 561. Array Partition I.md 2018-09-09 17:52:25 +08:00
566. Reshape the Matrix.md Create 566. Reshape the Matrix.md 2018-09-10 21:14:26 +08:00
581. Shortest Unsorted Continuous Subarray.md Create 581. Shortest Unsorted Continuous Subarray.md 2018-09-10 23:56:35 +08:00
605. Can Place Flowers.md Create 605. Can Place Flowers.md 2018-09-11 19:57:28 +08:00
628. Maximum Product of Three Numbers.md Create 628. Maximum Product of Three Numbers.md 2018-09-11 21:18:53 +08:00
643. Maximum Average Subarray I.md Create 643. Maximum Average Subarray I.md 2018-09-11 21:39:37 +08:00
661. Image Smoother.md Create 661. Image Smoother.md 2018-09-11 23:12:09 +08:00
665. Non-decreasing Array.md Create 665. Non-decreasing Array.md 2018-09-12 21:49:08 +08:00
README.md Initial commit 2018-07-13 11:42:53 +08:00

LeetCode

My LeetCode solutions.