Array / String
- 1 Two Sum
- 49 Group Anagrams
- 58 Length of Last Word
- 217 Contains Duplicate
- 242. Valid Anagram
- 383 Ransom Note
- 929 Unique Email Addresses
- 1768 Merge Strings Alternately
- 1071 Greatest Common Divisor of Strings
- 1299 Replace Elements with Greatest Element on Right Side
Two Pointers
Sliding Windows
Binary Search
Linked List
- 2 Add Two Numbers
- 19 Remove Nth Node From End of linked list
- 21 Merge Two Sorted Lists
- 86 Partition List
- 141 Linked List Cycle
- 203 Remove Linked List Elements
- 206 Reverse Linked List
Stack
Tree
Heap
Dynamic Programming
DFS (Island – Flood)
Two Pointers (Fast and Slow)
Design
integer manipulation
Math
Bit Manipulation
Prefix and Suffix
Buy and Sell Stock
Contains Duplicate
Sum
Single Number
Recommend Resources:
- How I would learn Leetcode if I could start over NeetCodeIO