Module 09 · DSA · Four patterns the ladders lean on
Who is in my group? (union-find)
Before you start.Graphs (BFS, DFS, Dijkstra, topological sort) gave you dots and the lines between them, and the question “can I get from here to there?” Clinic #26: Redundant Connection used a small tool to find the one cable that closes a loop: every dot keeps a pointer to another dot, and following pointers upward ends at a dot that points at itself. That clinic built the tool and used it. This lesson is about the tool itself: why it is nearly free, and when to pick it over a plain walk through the graph.
Lesson 68 of 74 in DSA
The rest of this lesson is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year, or $19.50 for your first year with LAUNCH50, ends 1 Nov, 18:30 UTC.