0001 |
Easy |
Two Sum |
Array, HashMap |
solution |
0002 |
Medium |
Add Two numbers |
LinkedList, Recursion |
solution |
003 |
Medium |
Longest Substring Without Repeating Characters |
Hash Table, String, Sliding Window |
solution |
0011 |
Medium |
Container With Most Water |
Array, Two Pointers, Greedy |
solution |
0015 |
Medium |
Three sum |
Array, Two Pointers, Sorting |
solution |
0019 |
Medium |
Remove Nth Node From End Of List |
Linked List, Two Pointers |
solution |
0021 |
Easy |
Merge Two Sorted Lists |
Linked List, Recursion |
solution |
0022 |
Medium |
Generate Parentheses |
String, Dynamic Programming, Backtracking |
solution |
0033 |
Medium |
Search in Rotated Sorted Array |
Array, Binary Search |
solution |
0036 |
Medium |
Valid Sudoku |
Array, HashTable, Matrix |
solution |
0042 |
Hard |
Trapping Rain Water |
Array, Two Pointers, Dynamic Programming, Stack |
solution |
0049 |
Medium |
Group Anagrams |
Array, HashTable, String, Sorting |
solution |
0074 |
Medium |
Search a 2D Matrix |
Array, Binary Search, Matrix |
solution |
0084 |
Hard |
Largest Rectangle in Histogram |
Array, Stack, Monotonic Stack |
solution |
0121 |
Easy |
Best Time to Buy and Sell Stock |
Array |
solution |
0125 |
Easy |
Valid Palindrome |
String, Two Pointers |
solution |
0128 |
Medium |
Longest Consecutive Sequence |
Array, HashSet |
solution |
0138 |
Medium |
Copy List with Random Pointer |
Linked List, Hash Table |
solution |
0141 |
Easy |
Linked List Cycle |
Hash Table, Linked List, Two Pointers |
solution |
0143 |
Medium |
Reorder List |
Linked List, Two Pointers, Stack, Recursion |
solution |
0146 |
Medium |
LRU Cache |
Hash Table, Design, Linked List, Doubly-Linked List |
solution |
0150 |
Medium |
Evaluate Reverse Polish Notation |
Array, Math, Stack |
solution |
0153 |
Medium |
Find Minimum in Rotated Sorted Array |
Array, Binary Search |
solution |
0155 |
Medium |
Min Stack |
Stack, Design |
solution |
0167 |
Medium |
Two Sum II - Input Array Is Sorted |
Array, Two Pointers |
solution |
0169 |
Easy |
Majority Element |
Array, HashTable, Counting |
solution |
0206 |
Easy |
Reverse Linked List |
Linked List, Recursion |
solution |
0217 |
Easy |
Contains Duplicate |
Array |
solution |
0219 |
Easy |
Contains Duplicate II |
Array |
solution |
0238 |
Medium |
Product of Array Except Self |
Array |
solution |
0242 |
Easy |
Valid Anagram |
String, HashTable |
solution |
0297 |
Medium |
Find the Duplicate Number |
Array, Two Pointers, Binary Search, Bit Manipulation |
solution |
0347 |
Medium |
Top K Frequent Elements |
Array, HashMap, Bucket Sort |
Solution |
0392 |
Easy |
Is Subsequence |
Two Pointers, String, Dynamic Programming |
solution |
0424 |
Medium |
Longest Repeating Character Replacement |
HashTable, String, Sliding Windows |
solution |
0704 |
Easy |
Binary Search |
Array, Binary Search |
solution |
0739 |
Medium |
Daily Temperatures |
Array, Stack, Monotonic Stack |
solution |
0853 |
Medium |
Car Fleet |
Array, Stack, Sorting, Monotonic Stack |
solution |
0875 |
Medium |
Koko Eating Bananas |
Array, Binary Search |
solution |
0981 |
Medium |
Time Based Key-Value Store |
Hash Table, String, Binary Search, Design |
solution |
1768 |
Easy |
Merge Strings Alternately |
Two Pointers, String |
solution |