Coding Interview Patterns: The Complete Catalog

patterns catalog

Coding Patterns Catalog

Every coding-interview pattern on the site, one canonical deep-dive per pattern. Learn the template, then drill it against real problems.

52 patterns
Sliding window over an array271828182lrslidewindow sum = 19grow r, shrink lO(n), one pass

Short on time? The 15-pattern master cheat sheet →  ·  Practice: the problem index →

Arrays, strings & the core toolkit 10 guides

Stacks, queues, heaps & maps 7 guides

Trees, tries & range structures 6 guides

Graphs 7 guides

Dynamic programming 11 guides

Recursion, greedy & everything else 11 guides

newsletter

What's actually being asked right now

Interview patterns & comp trends, straight to your inbox.

No spam. Unsubscribe anytime.

1972 Soviet postage stamp commemorating the Mars 2 probe

worth a read

Mars For The Rest of Us — a weekly-or-more deep dive on the technical side of Mars exploration: rocket propulsion, microbiology, mission architecture, and everything in between. Written by Maciej Ceglowski.

Read it on Substack →
Scroll to Top