0001 |
Two Sum |
Easy |
|
0003 |
Longest Substring Without Repeating Characters |
Medium |
|
0004 |
Median of Two Sorted Arrays |
Hard |
|
0011 |
Container With Most Water |
Medium |
Two Pointers |
0015 |
3Sum |
Medium |
Two Pointers |
0016 |
3Sum Closest |
Medium |
Two Pointers |
0018 |
4Sum |
Medium |
Two Pointers, Hash Table |
0026 |
Remove Duplicates from Sorted Array |
Easy |
Two Pointers |
0027 |
Remove Element |
Easy |
Two Pointers |
0031 |
Next Permutation |
Medium |
|
0033 |
Search in Rotated Sorted Array |
Medium |
Binary Search |
0045 |
Jump Game II |
Medium |
Dynamic Programming, Greedy |
0046 |
Permutations |
Medium |
Backtracking |
0053 |
Maximum Subarray |
Easy |
Divide and Conquer, Dynamic Programming |
0090 |
Subsets II |
Medium |
Backtracking, Bit Manipulation |
0121 |
Best Time to Buy and Sell Stock |
Easy |
Dynamic Programming |
0152 |
Maximum Product Subarray |
Medium |
Dynamic Programming |
0155 |
Min Stack |
Easy |
Stack, Design |
0167 |
Two Sum II - Input array is sorted |
Easy |
Two Pointers, Binary Search |
0169 |
Majority Element |
Easy |
Hash Table, Sorting, Counting |
0215 |
Kth Largest Element in an Array |
Medium |
Divide and Conquer, Sorting, Heap |
0221 |
Maximal Square |
Medium |
Dynamic Programming, Matrix |
0238 |
Product of Array Except Self |
Medium |
Prefix Sum |
0300 |
Longest Increasing Subsequence |
Medium |
Binary Search,Dynamic Programming |
0347 |
Top K Frequent Elements |
Medium |
Hash Table, Sorting, Counting, Heap |
0384 |
Shuffle an Array |
Medium |
Math Randomized |
0414 |
Third Maximum Number |
Easy |
|
0496 |
Next Greater Element I |
Easy |
Hash Table, Stack |
0540 |
Single Element in a Sorted Array |
Medium |
Binary Search |
0605 |
Can Place Flowers |
East |
|
1313 |
Decompress Run-Length Encoded List |
Easy |
|
1365 |
How Many Numbers Are Smaller Than the Current Number |
Easy |
Hash Table |
1389 |
Create Target Array in the Given Order |
Easy |
|
1431 |
Kids With the Greatest Number of Candies |
Easy |
|
1464 |
Maximum Product of Two Elements in an Array |
Easy |
|
1465 |
Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts |
Medium |
|
1470 |
Shuffle the Array |
Easy |
|
1476 |
Subrectangle Queries |
Medium |
|
1480 |
Running Sum of 1d Array |
Easy |
|
1512 |
Number of Good Pairs |
Easy |
Hash Table, Math |
1672 |
Richest Customer Wealth |
Easy |
|
1769 |
Minimum Number of Operations to Move All Balls to Each Box |
Medium |
|
1773 |
Count Items Matching a Rule |
Easy |
String |
1854 |
Maximum Population Year |
Easy |
Counting |
1909 |
Remove One Element to Make the Array Strictly Increasing |
Easy |
|
1920 |
Build Array from Permutation |
Easy |
|