Master Coding Patterns

Build muscle memory with targeted practice templates.
Recognize patterns. Solve any problem.

Pattern Library

Master coding patterns with structured practice.

Sliding Window

1 Templates

Two Pointers

1 Templates

Fast and Slow Pointers

1 Templates

Merge Intervals

1 Templates

Cyclic Sort

1 Templates

In-place Reversal of a Linked List

1 Templates

Tree BFS

1 Templates

Tree DFS

1 Templates

Two Heaps

1 Templates

Subsets

1 Templates

Modified Binary Search

1 Templates

Bitwise XOR

1 Templates

Top K Elements

1 Templates

K-way Merge

1 Templates

Topological Sort

1 Templates

Union Find

1 Templates

Backtracking

1 Templates

Dynamic Programming

1 Templates

Monotonic Stack

1 Templates

Island Matrix Traversal

1 Templates

Graphs

1 Templates

Trie

1 Templates