- Two Pointers Patterns
- Sliding Window Patterns
- Binary Search Patterns
# | Problem | Difficulty |
---|---|---|
217 | Contains Duplicate | Easy |
242 | Valid Anagram | Easy |
1365 | How Many Numbers Are Smaller Than the Current Number | Easy |
2108 | Find First Palindromic String in the Array | Easy |
2194 | Cells in a Range on an Excel Sheet | Easy |
49 | Group Anagrams | Medium |
128 | Longest Consecutive Sequence | Medium |
122 | Best Time to Buy and Sell Stocks II | Medium |
36 | Valid Sudoku | Medium |
189 | Rotate Array | Medium |
347 | Top K Frequent Elements | Medium |
# | Problem | Difficulty |
---|---|---|
804 | Unique Morse Code Words | Easy |
1859 | Sorting the Sentence | Easy |
557 | Reverse Words in a String III | Easy |
2325 | Decode the Message | Easy |
383 | Ransom Note | Easy |
205 | Isomorphic Strings | Easy |
290 | Word Pattern | Easy |
500 | Keyboard Row | Easy |
925 | Long Pressed Name | Easy |
2744 | Find Maximum Number of String Pairs | Easy |
1309 | Decrypt String from Alphabet to Integer Mapping | Easy |
1844 | Replace All Digits with Characters | Easy |
1160 | Find Words That Can Be Formed by Characters | Easy |
13 | Roman to Integer | Easy |
1624 | Largest Substring Between Two Equal Characters | Easy |
1897 | Redistribute Characters to Make All Strings Equal | Easy |
1422 | Maximum Score After Splitting a String | Easy |
151 | Reverse Words in a String | Medium |
890 | Find and Replace Pattern | Medium |
1529 | Minimum Suffix Flips | Medium |
# | Problem | Difficulty |
---|---|---|
704 | Binary Search | Easy |
33 | Search in Rotated Sorted Array | Medium |
74 | Search a 2D Matrix | Medium |
153 | Find Minimum in Rotated Sorted Array | Medium |
162 | Find Peak Element | Medium |
# | Problem | Difficulty |
---|---|---|
121 | Best Time to Buy and Sell Stocks | Easy |
1876 | Substrings of Size Three with Distinct Characters | Easy |
643 | Maximum Average Subarray I | Easy |
2269 | Find the K Beauty of a Number | Easy |
209 | Minimum Size Subarray Sum | Medium |
1248 | Count Number of Nice Subarrays | Medium |
# | Problem | Difficulty |
---|---|---|
20 | Valid Parentheses | Easy |
150 | Evaluate Reverse Polish Notation | Medium |
# | Problem | Difficulty |
---|---|---|
125 | Valid Palindrome | Easy |
680 | Valid Palindrome II | Easy |
1 | Two Sum | Easy |
917 | Reverse Only Letters | Easy |
283 | Move Zeros | Easy |
167 | Two Sum II - Input Array is Sorted | Medium |
15 | 3 Sum | Medium |
75 | Sort Colors | Medium |
438 | Find All Anagrams in a String | Medium |
# | Problem | Difficulty |
---|---|---|
206 | Reverse Linked List | Easy |
# | Problem | Difficulty |
---|---|---|
53 | Maximum Subarray | Medium |
# | Problem | Difficulty |
---|---|---|
912 | Sort an Array | Medium |
# | Problem | Difficulty |
---|---|---|
134 | Gas Station | Medium |