Deep Dive

Union-Find

547. Number of Provinces · Graph search · 64 of 78

1/6

Union-Find

BBAACCDDFFEE
In this lessonStep 1 of 6 · ← → keys
The question

Keep track of connected groups as connections are added.