p. labs CS495 · Teaching mini lesson

Data structures · 10 minutes

Disjoint
set union.

Who belongs together?

Track separate groups.
Find a representative. Merge groups.

By the endExplain whether two items are in the same set, and trace a merge.
ABCDOne set
E
F
6 items. 3 disjoint sets.
Keep the activity readylabs.psubham.com/ppt/dsu/?mode=activityScan now. We’ll use it in a few minutes.
01 / 07

Use Left / Right or Space to change slides · F to present · N for notes