Skip to content
echogeco

Course · Interview preparation

Data structures and algorithms, by pattern

Interview problems grouped by the technique that solves them, from prefix sums to graphs. Every problem here is written from scratch, and every solution is code that ran against its tests before it reached the page.

Lessons
43
Problems
247
Diagrams
43
Tested cases
1,722
Modules written
14 of 14
Reading time · words
18 h · 247,172

Module 01 · 3 pages

Start here

Module 02 · 2 days · 10 pages

Arrays and prefix thinking

Module 04 · 3 days · 17 pages

Two pointers and sliding windows

Module 05 · 4 days · 20 pages

Sorting, comparators and intervals

Module 06 · 3 days · 14 pages

Hashing and search structures

Module 07 · 4 days · 18 pages

Lists, stacks, queues and design

Module 08 · 5 days · 22 pages

Recursion and backtracking

Module 09 · 2 days · 11 pages

Heaps

Module 10 · 5 days · 23 pages

Trees and BSTs

Module 11 · 4 days · 18 pages

Tries and strings

Module 12 · 8 days · 63 pages

Dynamic programming

Module 13 · 1 day · 7 pages

Greedy

Module 14 · 6 days · 46 pages

Graphs