2019-09-20 14:48:41 +00:00
My LeetCode solutions with Chinese explanation. 我的LeetCode中文题解。
2019-01-14 16:16:36 +00:00
每个题目都保证击败超过80%的提交,并尽量给出多种解法并分析算法复杂度。
2019-11-18 13:14:38 +00:00
每日持续更新中, 欢迎交流, 欢迎star :D
2019-01-01 15:11:07 +00:00
2020-01-05 13:08:27 +00:00
另外,[`algorithm`](algorithm/README.md)文件夹对经典算法作了简单介绍并给出代码模板,方便刷题参考使用。
2019-01-01 15:11:07 +00:00
| # | 题目 | 题解 | 难度 |
| ---- | -----------| ------- | ------- |
2019-01-01 15:26:28 +00:00
| 1 |[Two Sum](https://leetcode.com/problems/two-sum)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/1.%20Two%20Sum.md)|Easy| |
| 2 |[Add Two Numbers](https://leetcode.com/problems/add-two-numbers)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/2.%20Add%20Two%20Numbers.md)|Medium| |
| 3 |[Longest Substring Without Repeating Characters](https://leetcode.com/problems/longest-substring-without-repeating-characters)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/3.%20Longest%20Substring%20Without%20Repeating%20Characters.md)|Medium| |
| 5 |[Longest Palindromic Substring](https://leetcode.com/problems/longest-palindromic-substring)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/5.%20Longest%20Palindromic%20Substring.md)|Medium| |
| 6 |[ZigZag Conversion](https://leetcode.com/problems/zigzag-conversion)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/6.%20ZigZag%20Conversion.md)|Medium| |
| 7 |[Reverse Integer](https://leetcode.com/problems/reverse-integer)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/7.%20Reverse%20Integer.md)|Easy| |
| 8 |[String to Integer (atoi)](https://leetcode.com/problems/string-to-integer-atoi)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/8.%20String%20to%20Integer%20(atoi).md)|Medium| |
| 9 |[Palindrome Number](https://leetcode.com/problems/palindrome-number)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/9.%20Palindrome%20Number.md)|Easy| |
| 11 |[Container With Most Water](https://leetcode.com/problems/container-with-most-water)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/11.%20Container%20With%20Most%20Water.md)|Medium| |
| 12 |[Integer to Roman](https://leetcode.com/problems/integer-to-roman)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/12.%20Integer%20to%20Roman.md)|Medium| |
| 13 |[Roman to Integer](https://leetcode.com/problems/roman-to-integer)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/13.%20Roman%20to%20Integer.md)|Easy| |
| 14 |[Longest Common Prefix](https://leetcode.com/problems/longest-common-prefix)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/14.%20Longest%20Common%20Prefix.md)|Easy| |
| 15 |[3Sum](https://leetcode.com/problems/3sum)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/15.%203Sum.md)|Medium| |
| 16 |[3Sum Closest](https://leetcode.com/problems/3sum-closest)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/16.%203Sum%20Closest.md)|Medium| |
| 17 |[Letter Combinations of a Phone Number](https://leetcode.com/problems/letter-combinations-of-a-phone-number)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/17.%20Letter%20Combinations%20of%20a%20Phone%20Number.md)|Medium| |
| 18 |[4Sum](https://leetcode.com/problems/4sum)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/18.%204Sum.md)|Medium| |
| 19 |[Remove Nth Node From End of List](https://leetcode.com/problems/remove-nth-node-from-end-of-list)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/19.%20Remove%20Nth%20Node%20From%20End%20of%20List.md)|Medium| |
| 20 |[Valid Parentheses](https://leetcode.com/problems/valid-parentheses)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/20.%20Valid%20Parentheses.md)|Easy| |
| 21 |[Merge Two Sorted Lists](https://leetcode.com/problems/merge-two-sorted-lists)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/21.%20Merge%20Two%20Sorted%20Lists.md)|Easy| |
| 22 |[Generate Parentheses](https://leetcode.com/problems/generate-parentheses)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/22.%20Generate%20Parentheses.md)|Medium| |
| 24 |[Swap Nodes in Pairs](https://leetcode.com/problems/swap-nodes-in-pairs)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/24.%20Swap%20Nodes%20in%20Pairs.md)|Medium| |
| 26 |[Remove Duplicates from Sorted Array](https://leetcode.com/problems/remove-duplicates-from-sorted-array)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/26.%20Remove%20Duplicates%20from%20Sorted%20Array.md)|Easy| |
| 27 |[Remove Element](https://leetcode.com/problems/remove-element)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/27.%20Remove%20Element.md)|Easy| |
| 29 |[Divide Two Integers](https://leetcode.com/problems/divide-two-integers)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/29.%20Divide%20Two%20Integers.md)|Medium| |
| 31 |[Next Permutation](https://leetcode.com/problems/next-permutation)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/31.%20Next%20Permutation.md)|Medium| |
2019-01-05 05:26:44 +00:00
| 34 |[Find First and Last Position of Element in Sorted ](https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/34.%20Find%20First%20and%20Last%20Position%20of%20Element%20in%20Sorted%20Array.md)|Medium| |
2019-01-04 06:34:40 +00:00
| 33 |[Search in Rotated Sorted Array](https://leetcode.com/problems/search-in-rotated-sorted-array/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/33.%20Search%20in%20Rotated%20Sorted%20Array.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 35 |[Search Insert Position](https://leetcode.com/problems/search-insert-position)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/35.%20Search%20Insert%20Position.md)|Easy| |
2019-01-05 09:30:59 +00:00
|36 |[Valid Sudoku](https://leetcode.com/problems/valid-sudoku/) |[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/36.%20Valid%20Sudoku.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 38 |[Count and Say](https://leetcode.com/problems/count-and-say)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/38.%20Count%20and%20Say.md)|Easy| |
2019-01-07 03:19:17 +00:00
| 39 |[Combination Sum](https://leetcode.com/problems/combination-sum/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/39.%20Combination%20Sum.md)|Medium| |
2019-01-07 12:57:00 +00:00
| 40 |[Combination Sum II](https://leetcode.com/problems/combination-sum-ii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/40.%20Combination%20Sum%20II.md)|Medium| |
2019-01-10 16:03:11 +00:00
| 43 |[Multiply Strings](https://leetcode.com/problems/multiply-strings/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/43.%20Multiply%20Strings.md)|Medium| |
2019-01-12 04:30:53 +00:00
| 46 |[Permutations](https://leetcode.com/problems/permutations/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/46.%20Permutations.md)|Medium| |
2019-01-12 08:53:48 +00:00
| 47 |[Permutations II](https://leetcode.com/problems/permutations-ii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/47.%20Permutations%20II.md)|Medium| |
2019-01-13 15:38:49 +00:00
| 48 |[Rotate Image](https://leetcode.com/problems/rotate-image/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/48.%20Rotate%20Image.md)|Medium| |
2019-01-14 16:07:04 +00:00
| 49 |[Group Anagrams](https://leetcode.com/problems/group-anagrams/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/49.%20Group%20Anagrams.md)|Medium| |
2019-01-15 15:31:55 +00:00
| 50 |[Pow(x, n)](https://leetcode.com/problems/powx-n/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/50.%20Pow(x%2C%20n).md)|Medium| |
2019-01-01 15:26:28 +00:00
| 53 |[Maximum Subarray](https://leetcode.com/problems/maximum-subarray)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/53.%20Maximum%20Subarray.md)|Easy| |
2019-01-16 16:04:30 +00:00
| 54 |[Spiral Matrix](https://leetcode.com/problems/spiral-matrix/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/54.%20Spiral%20Matrix.md)|Medium| |
2019-01-17 15:29:51 +00:00
| 55 |[Jump Game](https://leetcode.com/problems/jump-game/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/55.%20Jump%20Game.md)|Medium| |
2019-01-22 15:46:03 +00:00
| 56 |[Merge Intervals](https://leetcode.com/problems/merge-intervals/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/56.%20Merge%20Intervals.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 58 |[Length of Last Word](https://leetcode.com/problems/length-of-last-word)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/58.%20Length%20of%20Last%20Word.md)|Easy| |
2019-02-01 13:36:51 +00:00
| 59 |[Spiral Matrix II](https://leetcode.com/problems/spiral-matrix-ii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/59.%20Spiral%20Matrix%20II.md)|Medium| |
2019-02-02 13:17:09 +00:00
| 60 |[Permutation Sequence](https://leetcode.com/problems/permutation-sequence/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/60.%20Permutation%20Sequence.md)|Medium| |
2019-02-02 13:58:50 +00:00
| 61 |[Rotate List](https://leetcode.com/problems/rotate-list/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/61.%20Rotate%20List.md)|Medium| |
2019-02-03 14:00:16 +00:00
| 62 |[Unique Paths](https://leetcode.com/problems/unique-paths/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/62.%20Unique%20Paths.md)|Medium| |
2019-02-03 14:26:52 +00:00
| 63 |[Unique Paths II](https://leetcode.com/problems/unique-paths-ii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/63.%20Unique%20Paths%20II.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 66 |[Plus One](https://leetcode.com/problems/plus-one)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/66.%20Plus%20One.md)|Easy| |
| 67 |[Add Binary](https://leetcode.com/problems/add-binary)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/67.%20Add%20Binary.md)|Easy| |
| 69 |[Sqrt(x)](https://leetcode.com/problems/sqrtx)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/69.%20Sqrt(x).md)|Easy| |
| 70 |[Climbing Stairs](https://leetcode.com/problems/climbing-stairs)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/70.%20Climbing%20Stairs.md)|Easy| |
2019-02-20 15:13:26 +00:00
| 71 |[Simplify Path](https://leetcode.com/problems/simplify-path/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/71.%20Simplify%20Path.md)|Medium| |
2019-02-21 11:09:10 +00:00
| 73 |[Set Matrix Zeroes](https://leetcode.com/problems/set-matrix-zeroes/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/73.%20Set%20Matrix%20Zeroes.md)|Medium| |
2019-02-21 11:42:26 +00:00
| 74 |[Search a 2D Matrix](https://leetcode.com/problems/search-a-2d-matrix/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/74.%20Search%20a%202D%20Matrix.md)|Medium| |
2019-02-21 12:52:26 +00:00
| 75 |[Sort Colors](https://leetcode.com/problems/sort-colors/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/75.%20Sort%20Colors.md)|Medium| |
2019-02-24 15:53:59 +00:00
| 77 |[Combinations](https://leetcode.com/problems/combinations/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/77.%20Combinations.md)|Medium| |
2019-03-04 16:00:28 +00:00
| 78 |[Subsets](https://leetcode.com/problems/subsets/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/78.%20Subsets.md)|Medium| |
2019-03-09 06:56:48 +00:00
| 79 |[Word Search](https://leetcode.com/problems/word-search/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/79.%20Word%20Search.md)|Medium| |
2019-03-09 07:22:16 +00:00
| 80 |[Remove Duplicates from Sorted Array II](https://leetcode.com/problems/remove-duplicates-from-sorted-array-ii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/80.%20Remove%20Duplicates%20from%20Sorted%20Array%20II.md)|Medium| |
2019-03-09 08:29:19 +00:00
| 81 |[Search in Rotated Sorted Array II](https://leetcode.com/problems/search-in-rotated-sorted-array-ii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/81.%20Search%20in%20Rotated%20Sorted%20Array%20II.md)|Medium| |
2019-03-09 15:58:26 +00:00
| 82 |[Remove Duplicates from Sorted List II](https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/82.%20Remove%20Duplicates%20from%20Sorted%20List%20II.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 83 |[Remove Duplicates from Sorted List](https://leetcode.com/problems/remove-duplicates-from-sorted-list)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/83.%20Remove%20Duplicates%20from%20Sorted%20List.md)|Easy| |
2019-03-11 15:22:07 +00:00
| 86 |[Partition List](https://leetcode.com/problems/partition-list/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/86.%20Partition%20List.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 88 |[Merge Sorted Array](https://leetcode.com/problems/merge-sorted-array)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/88.%20Merge%20Sorted%20Array.md)|Easy| |
2019-03-21 15:41:29 +00:00
| 89 |[Gray Code](https://leetcode.com/problems/gray-code/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/89.%20Gray%20Code.md)|Medium| |
2019-03-22 08:39:41 +00:00
| 90 |[Subsets II](https://leetcode.com/problems/subsets-ii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/90.%20Subsets%20II.md)|Medium| |
2019-03-24 14:54:03 +00:00
| 91 |[Decode Ways](https://leetcode.com/problems/decode-ways/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/91.%20Decode%20Ways.md)|Medium| |
2019-03-24 15:40:45 +00:00
| 92 |[Reverse Linked List II](https://leetcode.com/problems/reverse-linked-list-ii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/92.%20Reverse%20Linked%20List%20II.md)|Medium| |
2019-04-02 14:06:06 +00:00
| 93 |[Restore IP Addresses](https://leetcode.com/problems/restore-ip-addresses/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/93.%20Restore%20IP%20Addresses.md)|Medium| |
2019-04-03 15:24:22 +00:00
| 94 |[Binary Tree Inorder Traversal](https://leetcode.com/problems/binary-tree-inorder-traversal/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/94.%20Binary%20Tree%20Inorder%20Traversal.md)|Medium| |
2019-04-21 15:15:07 +00:00
| 95 |[Unique Binary Search Trees II](https://leetcode.com/problems/unique-binary-search-trees-ii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/95.%20Unique%20Binary%20Search%20Trees%20II.md)|Medium| |
2019-04-17 16:09:36 +00:00
| 96 |[Unique Binary Search Trees](https://leetcode.com/problems/unique-binary-search-trees/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/96.%20Unique%20Binary%20Search%20Trees.md)|Medium| |
2019-04-21 16:12:53 +00:00
| 98 |[Validate Binary Search Tree](https://leetcode.com/problems/validate-binary-search-tree/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/98.%20Validate%20Binary%20Search%20Tree.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 100 |[Same Tree](https://leetcode.com/problems/same-tree)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/100.%20Same%20Tree.md)|Easy| |
| 101 |[Symmetric Tree](https://leetcode.com/problems/symmetric-tree)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/101.%20Symmetric%20Tree.md)|Easy| |
2019-04-22 15:55:10 +00:00
| 102 |[Binary Tree Level Order Traversal](https://leetcode.com/problems/binary-tree-level-order-traversal/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/102.%20Binary%20Tree%20Level%20Order%20Traversal.md)|Medium| |
2019-04-24 15:34:03 +00:00
| 103 |[Binary Tree Zigzag Level Order Traversal](https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/103.%20Binary%20Tree%20Zigzag%20Level%20Order%20Traversal.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 104 |[Maximum Depth of Binary Tree](https://leetcode.com/problems/maximum-depth-of-binary-tree)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/104.%20Maximum%20Depth%20of%20Binary%20Tree.md)|Easy| |
2019-04-26 15:02:00 +00:00
| 105 |[Construct Binary Tree from Preorder and Inorder Traversal](https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/105.%20Construct%20Binary%20Tree%20from%20Preorder%20and%20Inorder%20Traversal.md)|Medium| |
2019-04-26 15:31:20 +00:00
| 106 |[Construct Binary Tree from Inorder and Postorder Traversal](https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/106.%20Construct%20Binary%20Tree%20from%20Inorder%20and%20Postorder%20Traversal.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 107 |[Binary Tree Level Order Traversal II](https://leetcode.com/problems/binary-tree-level-order-traversal-ii)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/107.%20Binary%20Tree%20Level%20Order%20Traversal%20II.md)|Easy| |
| 108 |[Convert Sorted Array to Binary Search Tree](https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/108.%20Convert%20Sorted%20Array%20to%20Binary%20Search%20Tree.md)|Easy| |
2019-04-28 15:54:52 +00:00
| 109 |[Convert Sorted List to Binary Search Tree](https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/109.%20Convert%20Sorted%20List%20to%20Binary%20Search%20Tree.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 110 |[Balanced Binary Tree](https://leetcode.com/problems/balanced-binary-tree)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/110.%20Balanced%20Binary%20Tree.md)|Easy| |
| 111 |[Minimum Depth of Binary Tree](https://leetcode.com/problems/minimum-depth-of-binary-tree)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/111.%20Minimum%20Depth%20of%20Binary%20Tree.md)|Easy| |
| 112 |[Path Sum](https://leetcode.com/problems/path-sum)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/112.%20Path%20Sum.md)|Easy| |
2019-05-31 15:41:19 +00:00
| 113 |[Path Sum II](https://leetcode.com/problems/path-sum-ii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/113.%20Path%20Sum%20II.md)|Medium| |
2019-06-11 11:56:58 +00:00
| 114 |[Flatten Binary Tree to Linked List](https://leetcode.com/problems/flatten-binary-tree-to-linked-list/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/114.%20Flatten%20Binary%20Tree%20to%20Linked%20List.md)|Medium| |
2019-06-11 16:00:40 +00:00
| 116 |[Populating Next Right Pointers in Each Node](https://leetcode.com/problems/populating-next-right-pointers-in-each-node/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/116.%20Populating%20Next%20Right%20Pointers%20in%20Each%20Node.md)|Medium| |
2019-06-13 16:27:47 +00:00
| 117 |[Populating Next Right Pointers in Each Node II](https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/117.%20Populating%20Next%20Right%20Pointers%20in%20Each%20Node%20II.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 118 |[Pascal's Triangle](https://leetcode.com/problems/pascals-triangle)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/118.%20Pascal's%20Triangle.md)|Easy| |
| 119 |[Pascal's Triangle II](https://leetcode.com/problems/pascals-triangle-ii)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/119.%20Pascal's%20Triangle%20II.md)|Easy| |
2019-06-19 01:52:56 +00:00
| 120 |[Triangle](https://leetcode.com/problems/triangle/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/120.%20Triangle.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 121 |[Best Time to Buy and Sell Stock](https://leetcode.com/problems/best-time-to-buy-and-sell-stock)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/121.%20Best%20Time%20to%20Buy%20and%20Sell%20Stock.md)|Easy| |
| 122 |[Best Time to Buy and Sell Stock II](https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/122.%20Best%20Time%20to%20Buy%20and%20Sell%20Stock%20II.md)|Easy| |
2019-11-05 08:20:07 +00:00
| 123 |[Best Time to Buy and Sell Stock III](https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/123.%20Best%20Time%20to%20Buy%20and%20Sell%20Stock%20III.md)|Hard| |
2019-01-01 15:26:28 +00:00
| 125 |[Valid Palindrome](https://leetcode.com/problems/valid-palindrome)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/125.%20Valid%20Palindrome.md)|Easy| |
2019-07-08 15:28:23 +00:00
| 127 |[Word Ladder](https://leetcode.com/problems/word-ladder/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/127.%20Word%20Ladder.md)|Medium| |
2019-07-10 15:25:57 +00:00
| 129 |[Sum Root to Leaf Numbers](https://leetcode.com/problems/sum-root-to-leaf-numbers/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/129.%20Sum%20Root%20to%20Leaf%20Numbers.md)|Medium| |
2019-07-17 02:26:59 +00:00
| 130 |[Surrounded Regions](https://leetcode.com/problems/surrounded-regions/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/130.%20Surrounded%20Regions.md)|Medium| |
2019-07-19 15:33:15 +00:00
| 131 |[Palindrome Partitioning](https://leetcode.com/problems/palindrome-partitioning/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/131.%20Palindrome%20Partitioning.md)|Medium| |
2019-07-23 15:38:33 +00:00
| 133 |[Clone Graph](https://leetcode.com/problems/clone-graph/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/133.%20Clone%20Graph.md)|Medium| |
2019-07-24 15:39:52 +00:00
| 134 |[Gas Station](https://leetcode.com/problems/gas-station/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/134.%20Gas%20Station.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 136 |[Single Number](https://leetcode.com/problems/single-number)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/136.%20Single%20Number.md)|Easy| |
2019-08-08 06:55:12 +00:00
| 137 |[Single Number II](https://leetcode.com/problems/single-number-ii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/137.%20Single%20Number%20II.md)|Medium| |
2019-08-08 08:32:35 +00:00
| 138 |[Copy List with Random Pointer](https://leetcode.com/problems/copy-list-with-random-pointer/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/138.%20Copy%20List%20with%20Random%20Pointer.md)|Medium| |
2019-08-10 10:53:53 +00:00
| 139 |[Word Break](https://leetcode.com/problems/word-break/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/139.%20Word%20Break.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 141 |[Linked List Cycle](https://leetcode.com/problems/linked-list-cycle)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/141.%20Linked%20List%20Cycle.md)|Easy| |
2019-08-09 14:40:55 +00:00
| 142 |[Linked List Cycle II](https://leetcode.com/problems/linked-list-cycle-ii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/142.%20Linked%20List%20Cycle%20II.md)|Medium| |
2019-08-11 06:44:45 +00:00
| 143 |[Reorder List](https://leetcode.com/problems/reorder-list/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/143.%20Reorder%20List.md)|Medium| |
2019-08-11 07:41:58 +00:00
| 144 |[Binary Tree Preorder Traversal](https://leetcode.com/problems/binary-tree-preorder-traversal/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/144.%20Binary%20Tree%20Preorder%20Traversal.md)|Medium| |
2019-08-21 13:41:45 +00:00
| 148 |[Sort List](https://leetcode.com/problems/sort-list/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/148.%20Sort%20List.md)|Medium| |
2019-08-21 14:13:39 +00:00
| 150 |[Evaluate Reverse Polish Notation](https://leetcode.com/problems/evaluate-reverse-polish-notation/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/150.%20Evaluate%20Reverse%20Polish%20Notation.md)|Medium| |
2019-08-23 07:47:07 +00:00
| 151 |[Reverse Words in a String](https://leetcode.com/problems/reverse-words-in-a-string/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/151.%20Reverse%20Words%20in%20a%20String.md)|Medium| |
2019-08-26 09:29:56 +00:00
| 152 |[Maximum Product Subarray](https://leetcode.com/problems/maximum-product-subarray/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/152.%20Maximum%20Product%20Subarray.md)|Medium| |
2019-08-27 11:35:46 +00:00
| 153 |[Find Minimum in Rotated Sorted Array](https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/153.%20Find%20Minimum%20in%20Rotated%20Sorted%20Array.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 155 |[Min Stack](https://leetcode.com/problems/min-stack)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/155.%20Min%20Stack.md)|Easy| |
| 160 |[Intersection of Two Linked Lists](https://leetcode.com/problems/intersection-of-two-linked-lists)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/160.%20Intersection%20of%20Two%20Linked%20Lists.md)|Easy| |
2019-08-27 14:02:47 +00:00
| 162 |[Find Peak Element](https://leetcode.com/problems/find-peak-element/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/162.%20Find%20Peak%20Element.md)|Medium| |
2019-08-29 09:22:36 +00:00
| 165 |[Compare Version Numbers](https://leetcode.com/problems/compare-version-numbers/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/165.%20Compare%20Version%20Numbers.md)|Medium| |
2019-08-30 13:52:15 +00:00
| 166 |[Fraction to Recurring Decimal](https://leetcode.com/problems/fraction-to-recurring-decimal/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/166.%20Fraction%20to%20Recurring%20Decimal.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 167 |[Two Sum II - Input array is sorted](https://leetcode.com/problems/two-sum-ii---input-array-is-sorted)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/167.%20Two%20Sum%20II%20-%20Input%20array%20is%20sorted.md)|Easy| |
| 168 |[Excel Sheet Column Title](https://leetcode.com/problems/excel-sheet-column-title)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/168.%20Excel%20Sheet%20Column%20Title.md)|Easy| |
| 169 |[Majority Element](https://leetcode.com/problems/majority-element)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/169.%20Majority%20Element.md)|Easy| |
| 171 |[Excel Sheet Column Number](https://leetcode.com/problems/excel-sheet-column-number)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/171.%20Excel%20Sheet%20Column%20Number.md)|Easy| |
| 172 |[Factorial Trailing Zeroes](https://leetcode.com/problems/factorial-trailing-zeroes)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/172.%20Factorial%20Trailing%20Zeroes.md)|Easy| |
2019-08-31 14:50:31 +00:00
| 179 |[Largest Number](https://leetcode.com/problems/largest-number/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/179.%20Largest%20Number.md)|Medium| |
2019-09-01 07:31:26 +00:00
| 187 |[Repeated DNA Sequences](https://leetcode.com/problems/repeated-dna-sequences/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/187.%20Repeated%20DNA%20Sequences.md)|Medium| |
2019-11-05 08:24:16 +00:00
| 188 |[Best Time to Buy and Sell Stock IV](https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/188.%20Best%20Time%20to%20Buy%20and%20Sell%20Stock%20IV.md)|Hard| |
2019-01-01 15:26:28 +00:00
| 189 |[Rotate Array](https://leetcode.com/problems/rotate-array)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/189.%20Rotate%20Array.md)|Easy| |
| 190 |[Reverse Bits](https://leetcode.com/problems/reverse-bits)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/190.%20Reverse%20Bits.md)|Easy| |
| 191 |[Number of 1 Bits](https://leetcode.com/problems/number-of-1-bits)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/191.%20Number%20of%201%20Bits.md)|Easy| |
| 198 |[House Robber](https://leetcode.com/problems/house-robber)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/198.%20House%20Robber.md)|Easy| |
2019-09-01 09:42:49 +00:00
| 199 |[Binary Tree Right Side View](https://leetcode.com/problems/binary-tree-right-side-view/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/199.%20Binary%20Tree%20Right%20Side%20View.md)|Medium| |
2019-09-02 09:31:29 +00:00
| 200 |[Number of Islands](https://leetcode.com/problems/number-of-islands/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/200.%20Number%20of%20Islands.md)|Medium| |
2019-09-03 11:41:26 +00:00
| 201 |[Bitwise AND of Numbers Range](https://leetcode.com/problems/bitwise-and-of-numbers-range/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/201.%20Bitwise%20AND%20of%20Numbers%20Range.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 202 |[Happy Number](https://leetcode.com/problems/happy-number)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/202.%20Happy%20Number.md)|Easy| |
| 203 |[Remove Linked List Elements](https://leetcode.com/problems/remove-linked-list-elements)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/203.%20Remove%20Linked%20List%20Elements.md)|Easy| |
| 204 |[Count Primes](https://leetcode.com/problems/count-primes)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/204.%20Count%20Primes.md)|Easy| |
| 205 |[Isomorphic Strings](https://leetcode.com/problems/isomorphic-strings)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/205.%20Isomorphic%20Strings.md)|Easy| |
| 206 |[Reverse Linked List](https://leetcode.com/problems/reverse-linked-list)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/206.%20Reverse%20Linked%20List.md)|Easy| |
2019-09-04 08:29:38 +00:00
| 207 |[Course Schedule](https://leetcode.com/problems/course-schedule/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/207.%20Course%20Schedule.md)|Medium| |
2019-09-08 07:55:35 +00:00
| 209 |[Minimum Size Subarray Sum](https://leetcode.com/problems/minimum-size-subarray-sum/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/209.%20Minimum%20Size%20Subarray%20Sum.md)|Medium| |
2019-09-08 10:38:17 +00:00
| 210 |[Course Schedule II](https://leetcode.com/problems/course-schedule-ii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/210.%20Course%20Schedule%20II.md)|Medium| |
2019-12-10 03:23:23 +00:00
| 213 |[House Robber II](https://leetcode.com/problems/house-robber-ii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/213.%20House%20Robber%20II.md)|Medium| |
2019-09-09 14:46:32 +00:00
| 215 |[Kth Largest Element in an Array](https://leetcode.com/problems/kth-largest-element-in-an-array/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/215.%20Kth%20Largest%20Element%20in%20an%20Array.md)|Medium| |
2019-09-10 12:03:33 +00:00
| 216 |[Combination Sum III](https://leetcode.com/problems/combination-sum-iii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/216.%20Combination%20Sum%20III.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 217 |[Contains Duplicate](https://leetcode.com/problems/contains-duplicate)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/217.%20Contains%20Duplicate.md)|Easy| |
| 219 |[Contains Duplicate II](https://leetcode.com/problems/contains-duplicate-ii)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/219.%20Contains%20Duplicate%20II.md)|Easy| |
2019-09-11 11:55:18 +00:00
| 220 |[Contains Duplicate III](https://leetcode.com/problems/contains-duplicate-iii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/220.%20Contains%20Duplicate%20III.md)|Medium| |
2019-09-14 14:50:40 +00:00
| 221 |[Maximal Square](https://leetcode.com/problems/maximal-square/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/221.%20Maximal%20Square.md)|Medium| |
2019-09-15 13:28:45 +00:00
| 222 |[Count Complete Tree Nodes](https://leetcode.com/problems/count-complete-tree-nodes/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/222.%20Count%20Complete%20Tree%20Nodes.md)|Medium| |
2019-09-19 15:28:11 +00:00
| 223 |[Rectangle Area](https://leetcode.com/problems/rectangle-area/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/223.%20Rectangle%20Area.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 225 |[Implement Stack using Queues](https://leetcode.com/problems/implement-stack-using-queues)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/225.%20Implement%20Stack%20using%20Queues.md)|Easy| |
| 226 |[Invert Binary Tree](https://leetcode.com/problems/invert-binary-tree)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/226.%20Invert%20Binary%20Tree.md)|Easy| |
2019-09-21 09:41:34 +00:00
| 227 |[Basic Calculator II](https://leetcode.com/problems/basic-calculator-ii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/227.%20Basic%20Calculator%20II.md)|Medium| |
2019-09-21 12:32:27 +00:00
| 228 |[Summary Ranges](https://leetcode.com/problems/summary-ranges/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/228.%20Summary%20Ranges.md)|Medium| |
2019-09-23 13:13:09 +00:00
| 229 |[Majority Element II](https://leetcode.com/problems/majority-element-ii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/229.%20Majority%20Element%20II.md)|Medium| |
2019-09-23 14:03:13 +00:00
| 230 |[Kth Smallest Element in a BST](https://leetcode.com/problems/kth-smallest-element-in-a-bst/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/230.%20Kth%20Smallest%20Element%20in%20a%20BST.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 231 |[Power of Two](https://leetcode.com/problems/power-of-two)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/231.%20Power%20of%20Two.md)|Easy| |
| 232 |[Implement Queue using Stacks](https://leetcode.com/problems/implement-queue-using-stacks)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/232.%20Implement%20Queue%20using%20Stacks.md)|Easy| |
| 234 |[Palindrome Linked List](https://leetcode.com/problems/palindrome-linked-list)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/234.%20Palindrome%20Linked%20List.md)|Easy| |
| 235 |[Lowest Common Ancestor of a Binary Search Tree](https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/235.%20Lowest%20Common%20Ancestor%20of%20a%20Binary%20Search%20Tree.md)|Easy| |
2019-09-25 15:22:32 +00:00
| 236 |[Lowest Common Ancestor of a Binary Tree](https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/236.%20Lowest%20Common%20Ancestor%20of%20a%20Binary%20Tree.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 237 |[Delete Node in a Linked List](https://leetcode.com/problems/delete-node-in-a-linked-list)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/237.%20Delete%20Node%20in%20a%20Linked%20List.md)|Easy| |
2019-10-03 12:32:53 +00:00
| 238 |[Product of Array Except Self](https://leetcode.com/problems/product-of-array-except-self/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/238.%20Product%20of%20Array%20Except%20Self.md)|Medium| |
2019-10-09 01:44:44 +00:00
| 240 |[Search a 2D Matrix II](https://leetcode.com/problems/search-a-2d-matrix-ii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/240.%20Search%20a%202D%20Matrix%20II.md)|Medium| |
2019-10-20 07:25:11 +00:00
| 241 |[Different Ways to Add Parentheses](https://leetcode.com/problems/different-ways-to-add-parentheses/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/241.%20Different%20Ways%20to%20Add%20Parentheses.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 242 |[Valid Anagram](https://leetcode.com/problems/valid-anagram)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/242.%20Valid%20Anagram.md)|Easy| |
| 257 |[Binary Tree Paths](https://leetcode.com/problems/binary-tree-paths)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/257.%20Binary%20Tree%20Paths.md)|Easy| |
| 258 |[Add Digits](https://leetcode.com/problems/add-digits)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/258.%20Add%20Digits.md)|Easy| |
2019-10-29 06:31:07 +00:00
| 260 |[Single Number III](https://leetcode.com/problems/single-number-iii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/260.%20Single%20Number%20III.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 263 |[Ugly Number](https://leetcode.com/problems/ugly-number)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/263.%20Ugly%20Number.md)|Easy| |
2019-10-29 12:01:19 +00:00
| 264 |[Ugly Number II](https://leetcode.com/problems/ugly-number-ii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/264.%20Ugly%20Number%20II.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 268 |[Missing Number](https://leetcode.com/problems/missing-number)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/268.%20Missing%20Number.md)|Easy| |
2019-10-30 11:43:18 +00:00
| 274 |[H-Index](https://leetcode.com/problems/h-index/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/274.%20H-Index.md)|Medium| |
2019-10-31 05:06:56 +00:00
| 275 |[H-Index II](https://leetcode.com/problems/h-index-ii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/275.%20H-Index%20II.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 278 |[First Bad Version](https://leetcode.com/problems/first-bad-version)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/278.%20First%20Bad%20Version.md)|Easy| |
2019-11-01 09:12:55 +00:00
| 279 |[Perfect Squares](https://leetcode.com/problems/perfect-squares/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/279.%20Perfect%20Squares.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 283 |[Move Zeroes](https://leetcode.com/problems/move-zeroes)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/283.%20Move%20Zeroes.md)|Easy| |
2019-11-07 12:00:04 +00:00
| 287 |[Find the Duplicate Number](https://leetcode.com/problems/find-the-duplicate-number/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/287.%20Find%20the%20Duplicate%20Number.md)|Medium| |
2019-11-07 12:49:27 +00:00
| 289 |[Game of Life](https://leetcode.com/problems/game-of-life/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/289.%20Game%20of%20Life.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 290 |[Word Pattern](https://leetcode.com/problems/word-pattern)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/290.%20Word%20Pattern.md)|Easy| |
| 292 |[Nim Game](https://leetcode.com/problems/nim-game)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/292.%20Nim%20Game.md)|Easy| |
2019-11-08 16:10:01 +00:00
| 300 |[Longest Increasing Subsequence](https://leetcode.com/problems/longest-increasing-subsequence/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/300.%20Longest%20Increasing%20Subsequence.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 303 |[Range Sum Query - Immutable](https://leetcode.com/problems/range-sum-query-immutable)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/303.%20Range%20Sum%20Query%20-%20Immutable.md)|Easy| |
2019-11-09 03:30:07 +00:00
| 304 |[Range Sum Query 2D - Immutable](https://leetcode.com/problems/range-sum-query-2d-immutable/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/304.%20Range%20Sum%20Query%202D%20-%20Immutable.md)|Medium| |
2019-11-11 05:20:32 +00:00
| 306 |[Additive Number](https://leetcode.com/problems/additive-number/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/306.%20Additive%20Number.md)|Medium| |
2019-11-18 13:14:38 +00:00
| 307 |[Range Sum Query - Mutable](https://leetcode.com/problems/range-sum-query-mutable/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/307.%20Range%20Sum%20Query%20-%20Mutable.md)|Medium| |
2019-11-05 08:28:38 +00:00
| 309 |[Best Time to Buy and Sell Stock with Cooldown](https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/309.%20Best%20Time%20to%20Buy%20and%20Sell%20Stock%20with%20Cooldown.md)|Medium| |
2019-11-13 13:37:48 +00:00
| 310 |[Minimum Height Trees](https://leetcode.com/problems/minimum-height-trees/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/310.%20Minimum%20Height%20Trees.md)|Medium| |
2019-11-09 10:07:19 +00:00
| 312 |[Burst Balloons](https://leetcode.com/problems/burst-balloons/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/312.%20Burst%20Balloons.md)|Hard| |
2019-11-15 05:18:33 +00:00
| 313 |[Super Ugly Number](https://leetcode.com/problems/super-ugly-number/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/313.%20Super%20Ugly%20Number.md)|Medium| |
2019-11-16 08:06:47 +00:00
| 318 |[Maximum Product of Word Lengths](https://leetcode.com/problems/maximum-product-of-word-lengths/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/318.%20Maximum%20Product%20of%20Word%20Lengths.md)|Medium| |
2019-11-16 09:53:30 +00:00
| 319 |[Bulb Switcher](https://leetcode.com/problems/bulb-switcher/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/319.%20Bulb%20Switcher.md)|Medium| |
2019-11-23 15:47:17 +00:00
| 322 |[Coin Change](https://leetcode.com/problems/coin-change/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/322.%20Coin%20Change.md)|Medium| |
2019-12-04 02:22:37 +00:00
| 324 |[Wiggle Sort II](https://leetcode.com/problems/wiggle-sort-ii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/324.%20Wiggle%20Sort%20II.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 326 |[Power of Three](https://leetcode.com/problems/power-of-three)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/326.%20Power%20of%20Three.md)|Easy| |
2019-12-04 05:52:08 +00:00
| 328 |[Odd Even Linked List](https://leetcode.com/problems/odd-even-linked-list/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/328.%20Odd%20Even%20Linked%20List.md)|Medium| |
2019-12-04 13:59:09 +00:00
| 331 |[Verify Preorder Serialization of a Binary Tree](https://leetcode.com/problems/verify-preorder-serialization-of-a-binary-tree/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/331.%20Verify%20Preorder%20Serialization%20of%20a%20Binary%20Tree.md)|Medium| |
2019-12-06 14:29:41 +00:00
| 332 |[Reconstruct Itinerary](https://leetcode.com/problems/reconstruct-itinerary/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/332.%20Reconstruct%20Itinerary.md)|Medium| |
2019-12-08 14:22:43 +00:00
| 334 |[Increasing Triplet Subsequence](https://leetcode.com/problems/increasing-triplet-subsequence/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/334.%20Increasing%20Triplet%20Subsequence.md)|Medium| |
2019-12-10 06:17:03 +00:00
| 337 |[House Robber III](https://leetcode.com/problems/house-robber-iii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/337.%20House%20Robber%20III.md)|Medium| |
2019-12-10 07:34:25 +00:00
| 338 |[Counting Bits](https://leetcode.com/problems/counting-bits/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/338.%20Counting%20Bits.md)|Medium| |
2019-12-11 03:09:10 +00:00
| 341 |[Flatten Nested List Iterator](https://leetcode.com/problems/flatten-nested-list-iterator/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/341.%20Flatten%20Nested%20List%20Iterator.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 342 |[Power of Four](https://leetcode.com/problems/power-of-four)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/342.%20Power%20of%20Four.md)|Easy| |
2019-12-11 07:13:11 +00:00
| 343 |[Integer Break](https://leetcode.com/problems/integer-break/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/343.%20Integer%20Break.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 344 |[Reverse String](https://leetcode.com/problems/reverse-string)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/344.%20Reverse%20String.md)|Easy| |
| 345 |[Reverse Vowels of a String](https://leetcode.com/problems/reverse-vowels-of-a-string)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/345.%20Reverse%20Vowels%20of%20a%20String.md)|Easy| |
2019-12-11 09:17:57 +00:00
| 347 |[Top K Frequent Elements](https://leetcode.com/problems/top-k-frequent-elements/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/347.%20Top%20K%20Frequent%20Elements.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 349 |[Intersection of Two Arrays](https://leetcode.com/problems/intersection-of-two-arrays)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/349.%20Intersection%20of%20Two%20Arrays.md)|Easy| |
| 350 |[Intersection of Two Arrays II](https://leetcode.com/problems/intersection-of-two-arrays-ii)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/350.%20Intersection%20of%20Two%20Arrays%20II.md)|Easy| |
2019-12-12 13:15:58 +00:00
| 357 |[Count Numbers with Unique Digits](https://leetcode.com/problems/count-numbers-with-unique-digits/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/357.%20Count%20Numbers%20with%20Unique%20Digits.md)|Medium| |
2019-12-13 03:24:45 +00:00
| 365 |[Water and Jug Problem](https://leetcode.com/problems/water-and-jug-problem/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/365.%20Water%20and%20Jug%20Problem.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 367 |[Valid Perfect Square](https://leetcode.com/problems/valid-perfect-square)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/367.%20Valid%20Perfect%20Square.md)|Easy| |
2019-12-13 07:52:53 +00:00
| 368 |[Largest Divisible Subset](https://leetcode.com/problems/largest-divisible-subset/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/368.%20Largest%20Divisible%20Subset.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 371 |[Sum of Two Integers](https://leetcode.com/problems/sum-of-two-integers)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/371.%20Sum%20of%20Two%20Integers.md)|Easy| |
2019-12-13 16:24:22 +00:00
| 372 |[Super Pow](https://leetcode.com/problems/super-pow/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/372.%20Super%20Pow.md)|Medium| |
2019-12-16 08:37:00 +00:00
| 373 |[Find K Pairs with Smallest Sums](https://leetcode.com/problems/find-k-pairs-with-smallest-sums/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/373.%20Find%20K%20Pairs%20with%20Smallest%20Sums.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 374 |[Guess Number Higher or Lower](https://leetcode.com/problems/guess-number-higher-or-lower)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/374.%20Guess%20Number%20Higher%20or%20Lower.md)|Easy| |
2019-12-16 12:25:27 +00:00
| 375 |[Guess Number Higher or Lower II](https://leetcode.com/problems/guess-number-higher-or-lower-ii/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/375.%20Guess%20Number%20Higher%20or%20Lower%20II.md)|Medium| |
2019-12-16 13:34:24 +00:00
| 376 |[Wiggle Subsequence](https://leetcode.com/problems/wiggle-subsequence/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/376.%20Wiggle%20Subsequence.md)|Medium| |
2019-12-17 03:13:03 +00:00
| 377 |[Combination Sum IV](https://leetcode.com/problems/combination-sum-iv/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/377.%20Combination%20Sum%20IV.md)|Medium| |
2019-12-17 08:43:44 +00:00
| 378 |[Kth Smallest Element in a Sorted Matrix](https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/378.%20Kth%20Smallest%20Element%20in%20a%20Sorted%20Matrix.md)|Medium| |
2019-12-17 13:41:56 +00:00
| 380 |[Insert Delete GetRandom O(1)](https://leetcode.com/problems/insert-delete-getrandom-o1/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/380.%20Insert%20Delete%20GetRandom%20O(1).md)|Medium| |
2019-12-17 15:21:48 +00:00
| 381 |[Insert Delete GetRandom O(1) - Duplicates allowed](https://leetcode.com/problems/insert-delete-getrandom-o1-duplicates-allowed/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/381.%20Insert%20Delete%20GetRandom%20O(1)%20-%20Duplicates%20allowed.md)|Hard| |
2019-12-19 08:00:30 +00:00
| 382 |[Linked List Random Node](https://leetcode.com/problems/linked-list-random-node/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/382.%20Linked%20List%20Random%20Node.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 383 |[Ransom Note](https://leetcode.com/problems/ransom-note)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/383.%20Ransom%20Note.md)|Easy| |
2019-12-19 09:36:13 +00:00
| 384 |[Shuffle an Array](https://leetcode.com/problems/shuffle-an-array/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/384.%20Shuffle%20an%20Array.md)|Medium| |
2019-12-20 05:28:41 +00:00
| 385 |[Mini Parser](https://leetcode.com/problems/mini-parser/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/385.%20Mini%20Parser.md)|Medium| |
2019-12-20 06:42:06 +00:00
| 386 |[Lexicographical Numbers](https://leetcode.com/problems/lexicographical-numbers/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/386.%20Lexicographical%20Numbers.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 387 |[First Unique Character in a String](https://leetcode.com/problems/first-unique-character-in-a-string)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/387.%20First%20Unique%20Character%20in%20a%20String.md)|Easy| |
2019-12-23 08:33:50 +00:00
| 388 |[Longest Absolute File Path](https://leetcode.com/problems/longest-absolute-file-path/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/388.%20Longest%20Absolute%20File%20Path.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 389 |[Find the Difference](https://leetcode.com/problems/find-the-difference)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/389.%20Find%20the%20Difference.md)|Easy| |
2019-12-23 13:47:39 +00:00
| 390 |[Elimination Game](https://leetcode.com/problems/elimination-game/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/390.%20Elimination%20Game.md)|Medium| |
2019-12-24 05:14:51 +00:00
| 392 |[Is Subsequence](https://leetcode.com/problems/is-subsequence/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/392.%20Is%20Subsequence.md)|Easy| |
2020-01-01 11:42:44 +00:00
| 393 |[UTF-8 Validation](https://leetcode.com/problems/utf-8-validation/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/393.%20UTF-8%20Validation.md)|Medium| |
2020-01-01 15:18:42 +00:00
| 394 |[Decode String](https://leetcode.com/problems/decode-string/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/394.%20Decode%20String.md)|Medium| |
2020-01-02 12:16:50 +00:00
| 395 |[Longest Substring with At Least K Repeating Characters](https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/395.%20Longest%20Substring%20with%20At%20Least%20K%20Repeating%20Characters.md)|Medium| |
2020-01-28 13:10:21 +00:00
| 397 |[Integer Replacement](https://leetcode.com/problems/integer-replacement/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/397.%20Integer%20Replacement.md)|Medium| |
2019-12-19 08:22:22 +00:00
| 398 |[Random Pick Index](https://leetcode.com/problems/random-pick-index/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/398.%20Random%20Pick%20Index.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 400 |[Nth Digit](https://leetcode.com/problems/nth-digit)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/400.%20Nth%20Digit.md)|Easy| |
| 404 |[Sum of Left Leaves](https://leetcode.com/problems/sum-of-left-leaves)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/404.%20Sum%20of%20Left%20Leaves.md)|Easy| |
| 405 |[Convert a Number to Hexadecimal](https://leetcode.com/problems/convert-a-number-to-hexadecimal)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/405.%20Convert%20a%20Number%20to%20Hexadecimal.md)|Easy| |
| 409 |[Longest Palindrome](https://leetcode.com/problems/longest-palindrome)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/409.%20Longest%20Palindrome.md)|Easy| |
| 414 |[Third Maximum Number](https://leetcode.com/problems/third-maximum-number)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/414.%20Third%20Maximum%20Number.md)|Easy| |
| 415 |[Add Strings](https://leetcode.com/problems/add-strings)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/415.%20Add%20Strings.md)|Easy| |
2019-11-19 15:48:39 +00:00
| 416 |[Partition Equal Subset Sum](https://leetcode.com/problems/partition-equal-subset-sum/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/416.%20Partition%20Equal%20Subset%20Sum.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 429 |[N-ary Tree Level Order Traversal](https://leetcode.com/problems/n-ary-tree-level-order-traversal)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/429.%20N-ary%20Tree%20Level%20Order%20Traversal.md)|Easy| |
| 434 |[Number of Segments in a String](https://leetcode.com/problems/number-of-segments-in-a-string)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/434.%20Number%20of%20Segments%20in%20a%20String.md)|Easy| |
| 437 |[Path Sum III](https://leetcode.com/problems/path-sum-iii)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/437.%20Path%20Sum%20III.md)|Easy| |
| 438 |[Find All Anagrams in a String](https://leetcode.com/problems/find-all-anagrams-in-a-string)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/438.%20Find%20All%20Anagrams%20in%20a%20String.md)|Easy| |
| 441 |[Arranging Coins](https://leetcode.com/problems/arranging-coins)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/441.%20Arranging%20Coins.md)|Easy| |
| 443 |[String Compression](https://leetcode.com/problems/string-compression)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/443.%20String%20Compression.md)|Easy| |
| 447 |[Number of Boomerangs](https://leetcode.com/problems/number-of-boomerangs)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/447.%20Number%20of%20Boomerangs.md)|Easy| |
| 448 |[Find All Numbers Disappeared in an Array](https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/448.%20Find%20All%20Numbers%20Disappeared%20in%20an%20Array.md)|Easy| |
| 453 |[Minimum Moves to Equal Array Elements](https://leetcode.com/problems/minimum-moves-to-equal-array-elements)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/453.%20Minimum%20Moves%20to%20Equal%20Array%20Elements.md)|Easy| |
| 455 |[Assign Cookies](https://leetcode.com/problems/assign-cookies)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/455.%20Assign%20Cookies.md)|Easy| |
| 459 |[Repeated Substring Pattern](https://leetcode.com/problems/repeated-substring-pattern)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/459.%20Repeated%20Substring%20Pattern.md)|Easy| |
| 461 |[Hamming Distance](https://leetcode.com/problems/hamming-distance)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/461.%20Hamming%20Distance.md)|Easy| |
| 463 |[Island Perimeter](https://leetcode.com/problems/island-perimeter)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/463.%20Island%20Perimeter.md)|Easy| |
2019-12-16 14:30:53 +00:00
| 474 |[Ones and Zeroes](https://leetcode.com/problems/ones-and-zeroes/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/474.%20Ones%20and%20Zeroes.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 475 |[Heaters](https://leetcode.com/problems/heaters)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/475.%20Heaters.md)|Easy| |
| 476 |[Number Complement](https://leetcode.com/problems/number-complement)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/476.%20Number%20Complement.md)|Easy| |
| 485 |[Max Consecutive Ones](https://leetcode.com/problems/max-consecutive-ones)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/485.%20Max%20Consecutive%20Ones.md)|Easy| |
2019-11-26 13:28:54 +00:00
| 494 |[Target Sum](https://leetcode.com/problems/target-sum/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/494.%20Target%20Sum.md)|Medium| |
2019-01-01 15:26:28 +00:00
| 496 |[Next Greater Element I](https://leetcode.com/problems/next-greater-element-i)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/496.%20Next%20Greater%20Element%20I.md)|Easy| |
| 500 |[Keyboard Row](https://leetcode.com/problems/keyboard-row)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/500.%20Keyboard%20Row.md)|Easy| |
| 532 |[K-diff Pairs in an Array](https://leetcode.com/problems/k-diff-pairs-in-an-array)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/532.%20K-diff%20Pairs%20in%20an%20Array.md)|Easy| |
| 561 |[Array Partition I](https://leetcode.com/problems/array-partition-i)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/561.%20Array%20Partition%20I.md)|Easy| |
| 566 |[Reshape the Matrix](https://leetcode.com/problems/reshape-the-matrix)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/566.%20Reshape%20the%20Matrix.md)|Easy| |
| 581 |[Shortest Unsorted Continuous Subarray](https://leetcode.com/problems/shortest-unsorted-continuous-subarray)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/581.%20Shortest%20Unsorted%20Continuous%20Subarray.md)|Easy| |
| 605 |[Can Place Flowers](https://leetcode.com/problems/can-place-flowers)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/605.%20Can%20Place%20Flowers.md)|Easy| |
| 628 |[Maximum Product of Three Numbers](https://leetcode.com/problems/maximum-product-of-three-numbers)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/628.%20Maximum%20Product%20of%20Three%20Numbers.md)|Easy| |
| 643 |[Maximum Average Subarray I](https://leetcode.com/problems/maximum-average-subarray-i)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/643.%20Maximum%20Average%20Subarray%20I.md)|Easy| |
| 661 |[Image Smoother](https://leetcode.com/problems/image-smoother)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/661.%20Image%20Smoother.md)|Easy| |
2019-01-05 05:26:44 +00:00
| 665 |[Non-decreasing Array](https://leetcode.com/problems/non-decreasing-array)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/665.%20Non-decreasing%20Array.md)|Easy| |
2019-11-07 12:00:04 +00:00
| 714 |[Best Time to Buy and Sell Stock with Transaction Fee](https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee/)|[C++](https://github.com/ShusenTang/LeetCode/blob/master/solutions/714.%20Best%20Time%20to%20Buy%20and%20Sell%20Stock%20with%20Transaction%20Fee.md)|Medium| |