Guides

Algorithm pattern guides

Each guide explains one pattern in plain words. It starts with a short narrated video. Then it walks through a worked example, the code, common mistakes and problems to practice.

BFS, DFS and topological sort: how they work

Graphs, BFS and DFS

How to walk a graph or a grid level by level (BFS) or path by path (DFS), and how to put tasks in an order that respects every rule (topological sort).

With a 2 min 28 s video

Want a video for a different problem?

Type a problem, a pattern or a system to design. You get a narrated video with drawings and captions, usually ready in 5 to 9 minutes.

3 free videos with your own AI key. An AI key is a code from an AI company, such as Anthropic or OpenAI. Your own AI account pays for the writing. See pricing

Make a video