1 | Two Sum |
2 | Add Two Numbers |
3 | Longest Substring Without Repeating Characters |
4 | Median of Two Sorted Arrays |
5 | Longest Palindromic Substring |
6 | Zigzag Conversion |
7 | Reverse Integer |
10 | Regular Expression Matching |
11 | Container With Most Water |
12 | Integer to Roman |
13 | Roman to Integer |
14 | Longest Common Prefix |
15 | 3Sum |
17 | Letter Combinations of a Phone Number |
19 | Remove Nth Node From End of List |
20 | Valid Parentheses |
21 | Merge Two Sorted Lists |
22 | Generate Parentheses |
23 | Merge k Sorted Lists |
26 | Remove Duplicates from Sorted Array |
29 | Divide Two Integers |
30 | Substring with Concatenation of All Words |
31 | Next Permutation |
32 | Longest Valid Parentheses |
33 | Search in Rotated Sorted Array |
34 | Find First and Last Position of Element in Sorted Array |
36 | Valid Sudoku |
37 | Sudoku Solver |
39 | Combination Sum |
40 | Combination Sum II |
41 | First Missing Positive |
42 | Trapping Rain Water |
45 | Jump Game II |
48 | Rotate Image |
49 | Group Anagrams |
50 | Pow(x, n) |
53 | Maximum Subarray |
54 | Spiral Matrix |
55 | Jump Game |
56 | Merge Intervals |
57 | Insert Interval |
61 | Rotate List |
63 | Unique Paths II |
64 | Minimum Path Sum |
70 | Climbing Stairs |
71 | Simplify Path |
73 | Set Matrix Zeroes |
74 | Search a 2D Matrix |
75 | Sort Colors |
76 | Minimum Window Substring |
78 | Subsets |
79 | Word Search |
88 | Merge Sorted Array |
91 | Decode Ways |
93 | Restore IP Addresses |
98 | Validate Binary Search Tree |
99 | Recover Binary Search Tree |
102 | Binary Tree Level Order Traversal |
103 | Binary Tree Zigzag Level Order Traversal |
108 | Convert Sorted Array to Binary Search Tree |
116 | Populating Next Right Pointers in Each Node |
118 | Pascal’s Triangle |
121 | Best Time to Buy and Sell Stock |
122 | Best Time to Buy and Sell Stock II |
123 | Best Time to Buy and Sell Stock III |
124 | Binary Tree Maximum Path Sum |
125 | Valid Palindrome |
134 | Gas Station |
138 | Copy List with Random Pointer |
139 | Word Break |
140 | Word Break II |
141 | Linked List Cycle |
146 | LRU Cache |
148 | Sort List |
149 | Max Points on a Line |
150 | Evaluate Reverse Polish Notation |
153 | Find Minimum in Rotated Sorted Array |
155 | Min Stack |
160 | Intersection of Two Linked Lists |
165 | Compare Version Numbers |
168 | Excel Sheet Column Title |
176 | Second Highest Salary |
179 | Largest Number |
196 | Delete Duplicate Emails |
199 | Binary Tree Right Side View |
200 | Number of Islands |
205 | Isomorphic Strings |
206 | Reverse Linked List |
207 | Course Schedule |
208 | Implement Trie (Prefix Tree) |
209 | Minimum Size Subarray Sum |
215 | Kth Largest Element in an Array |
217 | Contains Duplicate |
221 | Maximal Square |
225 | Implement Stack using Queues |
226 | Invert Binary Tree |
227 | Basic Calculator II |
232 | Implement Queue using Stacks |
234 | Palindrome Linked List |
235 | Lowest Common Ancestor of a Binary Search Tree |
236 | Lowest Common Ancestor of a Binary Tree |
238 | Product of Array Except Self |
239 | Sliding Window Maximum |
240 | Search a 2D Matrix II |
243 | Shortest Word Distance |
252 | Meeting Rooms |
253 | Meeting Rooms II |
268 | Missing Number |
273 | Integer to English Words |
279 | Perfect Squares |
283 | Move Zeroes |
297 | Serialize and Deserialize Binary Tree |
300 | Longest Increasing Subsequence |
314 | Binary Tree Vertical Order Traversal |
316 | Remove Duplicate Letters |
328 | Odd Even Linked List |
329 | Longest Increasing Path in a Matrix |
333 | Largest BST Subtree |
347 | Top K Frequent Elements |
348 | Design Tic-Tac-Toe |
359 | Logger Rate Limiter |
378 | Kth Smallest Element in a Sorted Matrix |
380 | Insert Delete GetRandom O(1) |
387 | First Unique Character in a String |
394 | Decode String |
412 | Fizz Buzz |
414 | Third Maximum Number |
415 | Add Strings |
425 | Word Squares |
438 | Find All Anagrams in a String |
443 | String Compression |
445 | Add Two Numbers II |
450 | Delete Node in a BST |
453 | Minimum Moves to Equal Array Elements |
460 | LFU Cache |
463 | Island Perimeter |
468 | Validate IP Address |
516 | Longest Palindromic Subsequence |
540 | Single Element in a Sorted Array |
543 | Diameter of Binary Tree |
560 | Subarray Sum Equals K |
564 | Find the Closest Palindrome |
567 | Permutation in String |
588 | Design In-Memory File System |
658 | Find K Closest Elements |
680 | Valid Palindrome II |
694 | Number of Distinct Islands |
696 | Count Binary Substrings |
697 | Degree of an Array |
715 | Range Module |
735 | Asteroid Collision |
761 | Employee Free Time |
766 | Flatten a Multilevel Doubly Linked List |
778 | Reorganize String |
792 | Binary Search |
803 | Cheapest Flights Within K Stops |
812 | Rotate String |
817 | Design HashMap |
832 | Binary Tree Pruning |
866 | Rectangle Overlap |
874 | Backspace String Compare |
878 | Shifting Letters |
908 | Middle of the Linked List |
971 | Shortest Bridge |
1013 | Fibonacci Number |
1014 | K Closest Points to Origin |
1023 | Time Based Key-Value Store |
1028 | Interval List Intersections |
1029 | Vertical Order Traversal of a Binary Tree |
1034 | Subarrays with K Different Integers |
1036 | Rotting Oranges |
1050 | Construct Binary Search Tree from Preorder Traversal |
1055 | Pairs of Songs With Total Durations Divisible by 60 |
1056 | Capacity To Ship Packages Within D Days |
1116 | Maximum Level Sum of a Binary Tree |
1128 | Remove All Adjacent Duplicates In String |
1129 | Longest String Chain |
1159 | Smallest Subsequence of Distinct Characters |
1171 | Shortest Path in Binary Matrix |
1308 | Smallest String With Swaps |
1352 | Maximum Profit in Job Scheduling |
1397 | Search Suggestions System |
1411 | Convert Binary Number in a Linked List to Integer |
1431 | All Ancestors of a Node in a Directed Acyclic Graph |
1451 | Minimum Number of Taps to Open to Water a Garden |
1496 | Lucky Numbers in a Matrix |
1510 | Find Lucky Integer in an Array |
1526 | HTML Entity Parser |
1582 | Design Browser History |
1732 | Minimum One Bit Operations to Make Integers Zero |
1741 | Sort Array by Increasing Frequency |
1851 | Maximum Number of Events That Can Be Attended II |
1883 | Find Distance in a Binary Tree |
1909 | Buildings With an Ocean View |
1929 | Maximum Value at a Given Index in a Bounded Array |
2115 | Number of Unique Good Subsequences |
2116 | Count Number of Pairs With Absolute Difference K |
2527 | Count Subarrays With Fixed Bounds |
2530 | Minimize Maximum of Array |
2559 | Maximum Number of Non-overlapping Palindrome Substrings |
2562 | Count Ways To Build Good Strings |
2594 | Count Pairs Of Similar Strings |
2651 | Count Ways to Group Overlapping Ranges |
2679 | Count Distinct Numbers on Board |
2683 | Count the Number of Good Subsequences |
2689 | Rearranging Fruits |
3032 | Maximize Value of Function in a Ball Passing Game |