Next:
Up:
Previous:
Pseudocode
FindSet(x)
if x
parent(x)
; Two-Pass Method
then parent(x) = FindSet(parent(x))
return parent(x)
Next:
Up:
Previous: