Leetcode Question Solved with Common Pattern — Leetcode Hacks
Aug 26, 2022
I created a LeetCode list for each of the patterns. I found it pretty useful, feel free to make a copy of the list and use it.
- 2 Heaps
- Arrays
- Backtracking
- Dynamic Programming
- Fast & Slow pointers
- Graph Traversal
- In-place traversal of LL
- K-way merge
- Merge Intervals
- Modified Binary Search
- Sliding window
- Top K elements
- Topological Sorting
- Tree BFS
- Tree DFS
- Two Pointers
Good Luck & Happy Coding!!
Credit — Maverick2594