Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

DSAKeeping the chains short: union by size and path compression

The short chains

Every find walks a chain of houses up to the root. In the worst order, how long can that chain get, and what keeps it short?

Thirty-two houses each record one house they report to, and the root names the group. Cables arrive in the worst order for the habits in play, and each one merges two groups. The bars show every house's distance from its root. The panels count find steps and notebook entries changed.

Included with a plan

This lab is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

the lesson Graphs (BFS, DFS, Dijkstra, topological sort)
The whole idea this lab came from, told start to finish.

on the path Module 1 of 11 in DSA: The toolbox
The lessons, boards and videos around this lab, in reading order.

Board: Graphs