The Whole Example (11/11)
find(g) = find(h)
So, no union.
And, we’re done!
a
d
b
e
c
f
g
h
i
12
f
g
h
a
b
c
i
d
e
a
d
b
e
c
f
g
h
i
Ooh… scary!
Such a hard maze!
Previous slide
Next slide
Back to first slide
View graphic version