~/problems

Problems

Basics first, then the classics, then company-style assessments. Every problem has tests you run right here; multi-level ones unlock as you go. See the roadmap.

Interview roadmap

Graphs

Grids and networks: BFS, DFS, cycles, ordering.

50 problems

Interview roadmap

Graphs Grids and networks: BFS, DFS, cycles, ordering.

BFS / multi-source BFS guide

DFS and connected components guide

Cycle detection guide

Bipartite graphs / 2-colouring guide

Topological sort (Kahn's) guide

esc