A Simple and Efficient Union-Find-Delete Algorithm - Corelab

A Simple and Efficient Union-Find-Delete Algorithm - Corelab A Simple and Efficient Union-Find-Delete Algorithm - Corelab

corelab.ntua.gr
from corelab.ntua.gr More from this publisher
08.06.2015 Views

• The leftmost leaf in the sub tree of the right sibling of the given node DFS 7 9 1 6 8 0 3 5 0 5 3 8 7 1 6 9

• The predecessor is a parent or a leaf DFS 50 0 3 6 05 3 4 8 8 4 6 5 • If it is a parent we can examine the left sibling of the node DFS 50 0 3 6 05 3 4 8 8 4 6 5

• The leftmost leaf in the sub tree of the right<br />

sibling of the given node<br />

DFS<br />

7<br />

9<br />

1<br />

6<br />

8<br />

0<br />

3<br />

5<br />

0<br />

5 3<br />

8<br />

7<br />

1<br />

6<br />

9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!