1010 - [ Backtracking] ( #pattern-backtracking )
1111 - [ Dynamic Programming] ( #pattern--dynamic-programming )
1212 - [ Fast & Slow Pointers] ( #pattern-fast--slow-pointers )
13- - [ Graph Traversals] ( #graphs )
13+ - [ Graph Traversals] ( #pattern-graph-traversals )
1414 - [ In-place Reversal of a Linked List] ( #pattern-in-place-reversal-of-a-linked-list )
1515 - [ K-Way Merge] ( #pattern-k-way-merge )
1616 - [ Merge Intervals] ( #pattern-merge-intervals )
@@ -64,26 +64,33 @@ In addition, you should have a good grasp on common algorithms such as:
6464
6565This [ pdf] contains useful information for the built-in data structures in Java.
6666Other useful Java methods include ` substring() ` , ` toCharArray() ` , ` Math.max() ` ,
67- ` Math.min() ` , and ` Arrays.fill() ` , or in your chosen language.
67+ ` Math.min() ` , and ` Arrays.fill() ` , in your chosen language.
6868
6969## Question List
7070
7171### Pattern: Arrays
7272
7373#### Easy:
7474
75+ 1 . Contains Duplicate: https://leetcode.com/problems/contains-duplicate/
75761 . Missing Number: https://leetcode.com/problems/missing-number/
76771 . Find All Numbers Disappeared in an Array: https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array/
77781 . Single Number: https://leetcode.com/problems/single-number/
7879
7980#### Medium:
8081
82+ 1 . Product of Array Except Self: https://leetcode.com/problems/product-of-array-except-self/
81831 . Find the Duplicate Number: https://leetcode.com/problems/find-the-duplicate-number/
82841 . Find All Duplicates in an Array: https://leetcode.com/problems/find-all-duplicates-in-an-array/
85+ 1 . Set Matrix Zeroes: https://leetcode.com/problems/set-matrix-zeroes/
86+ 1 . Spiral Matrix: https://leetcode.com/problems/spiral-matrix/
87+ 1 . Rotate Image: https://leetcode.com/problems/rotate-image/
88+ 1 . Word Search: https://leetcode.com/problems/word-search/
8389
8490#### Hard:
8591
86921 . First Missing Positive: https://leetcode.com/problems/first-missing-positive/
93+ 1 . Longest Consecutive Sequence: https://leetcode.com/problems/longest-consecutive-sequence/
8794
8895### Pattern: Backtracking
8996
@@ -123,13 +130,23 @@ YouTube channel].
123130
1241311 . Climbing Stairs: https://leetcode.com/problems/climbing-stairs/
1251321 . House Robber: https://leetcode.com/problems/house-robber/
133+ 1 . Best Time to Buy and Sell Stock: https://leetcode.com/problems/best-time-to-buy-and-sell-stock/
1261341 . Maximum Subarray: https://leetcode.com/problems/maximum-subarray/
1271351 . Range Sum Query - Immutable: https://leetcode.com/problems/range-sum-query-immutable/
128136
129137#### Medium:
130138
139+ 1 . House Robber II: https://leetcode.com/problems/house-robber-ii/
1311401 . Coin Change: https://leetcode.com/problems/coin-change/
141+ 1 . Maximum Product Subarray: https://leetcode.com/problems/maximum-product-subarray/
1321421 . Longest Increasing Subsequence: https://leetcode.com/problems/longest-increasing-subsequence/
143+ 1 . Longest Palindromic Substring: https://leetcode.com/problems/longest-palindromic-substring/
144+ 1 . Word Break: https://leetcode.com/problems/word-break/
145+ 1 . Combination Sum: https://leetcode.com/problems/combination-sum-iv/
146+ 1 . Decode Ways: https://leetcode.com/problems/decode-ways/
147+ 1 . Unique Paths: https://leetcode.com/problems/unique-paths/
148+ 1 . Jump Game: https://leetcode.com/problems/jump-game/
149+ 1 . Palindromic Substrings: https://leetcode.com/problems/palindromic-substrings/
1331501 . Number of Longest Increasing Subsequence: https://leetcode.com/problems/number-of-longest-increasing-subsequence/
1341511 . Partition Equal Subset Sum: https://leetcode.com/problems/partition-equal-subset-sum/
1351521 . Partition to K Equal Sum Subsets: https://leetcode.com/problems/partition-to-k-equal-sum-subsets/
@@ -151,8 +168,10 @@ The fast & slow pointer approach can be found under `3. Fast and Slow pointers`
151168#### Medium:
152169
1531701 . Linked List Cycle II: https://leetcode.com/problems/linked-list-cycle-ii/
154- 1 . Add Two Numbers: https://leetcode.com/problems/add-two-numbers/ ,
171+ 1 . Add Two Numbers: https://leetcode.com/problems/add-two-numbers/
172+ 1 . Remove Nth Node From End Of List: https://leetcode.com/problems/remove-nth-node-from-end-of-list/
1551731 . Sort List: https://leetcode.com/problems/sort-list/
174+ 1 . Reorder List: https://leetcode.com/problems/reorder-list/
156175
157176### Pattern: Graph Traversals
158177
@@ -188,6 +207,10 @@ The in-place reveral technique can be found under `6. In-place reversal of linke
188207
189208The k-way merge technique can be found under ` 13. K-way Merge ` [ here] .
190209
210+ #### Easy:
211+
212+ 1 . Merge Two Sorted Lists: https://leetcode.com/problems/merge-two-sorted-lists/
213+
191214#### Medium:
192215
1932161 . Kth Smallest Element in a Sorted Matrix: https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix/
@@ -232,6 +255,7 @@ The modified binary search algorithm can be found under `11. Modified binary sea
232255
233256#### Medium:
234257
258+ 1 . Find Minimum in Rotated Sorted Array: https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/
2352591 . Find Peak Element: https://leetcode.com/problems/find-peak-element/
2362601 . Search in Rotated Sorted Array: https://leetcode.com/problems/search-in-rotated-sorted-array/
2372611 . Search in Rotated Sorted Array II: https://leetcode.com/problems/search-in-rotated-sorted-array-ii/
@@ -343,11 +367,13 @@ The tree DFS technique can be found under `8. Tree DFS` [here].
3433671 . Construct Binary Tree from Preorder and Inorder Traversal: https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/
3443681 . Validate Binary Search Tree: https://leetcode.com/problems/validate-binary-search-tree/
3453691 . Kth Smallest Element in a BST: https://leetcode.com/problems/kth-smallest-element-in-a-bst/
370+ 1 . Implement Trie (Prefix Tree): https://leetcode.com/problems/implement-trie-prefix-tree/
346371
347372#### Hard:
348373
3493741 . Binary Tree Maximum Path Sum: https://leetcode.com/problems/binary-tree-maximum-path-sum/
3503751 . Serialize and Deserialize Binary Tree: https://leetcode.com/problems/serialize-and-deserialize-binary-tree/
376+ 1 . Word Search II: https://leetcode.com/problems/word-search-ii/
351377
352378### Pattern: Two Heaps
353379
0 commit comments