DSA Topics and Commonly Used Patterns
Arrays
- Sliding Window
- Two Pointers
- Prefix Sum
- Binary Search
- Hashing
Strings
- Sliding Window
- Two Pointers
- Trie
- Hashing
Linked Lists
- Two Pointers
- Fast & Slow Pointers
- Reversal
- Cycle Detection
Trees
- DFS
- BFS
- Recursion
- Dynamic Programming
Graphs
- DFS
- BFS
- Topological Sort
- Union-Find
DSA Topics and Commonly Used Patterns
- Dijkstra's Algorithm
Stacks & Queues
- Monotonic Stack/Queue
- Two Stacks
- Sliding Window
Heaps
- Heap
- Greedy
- Priority Queue
Dynamic Programming
- Memoization
- Tabulation
- Recursion
Backtracking
- Recursion
- DFS
- Pruning
Greedy Algorithms
- Sorting
- Priority Queue
- Greedy Choice
Bit Manipulation
- Bitmasking
- Set/Clear/Toggle Bit
DSA Topics and Commonly Used Patterns
Tries
- Prefix Matching
- Autocomplete
- Dictionary Storage