Skip to content
Coding Preparation

icon picker
Patterns for Success

Rather than grinding through Leetcode aimlessly, I would highly suggest using patterns. The patterns below have been taken from . No need to pay for the course, just build a database of questions that match each topic.

Sliding Window
Two Pointers
Fast & Slow Pointers
Merge Intervals
Cyclic Sort
In-Place Reversal of LinkedList
Tree BFS
Tree DFS
Two Heaps
Subsets
Modified Binary Search
Bitwise XOR
Top ‘K’ Elements
K-way Merge
Knapsack (Dynamic Programming)
Topological Sort


Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.