11.07.2015 Views

Data Structures and Algorithm Analysis - Computer Science at ...

Data Structures and Algorithm Analysis - Computer Science at ...

Data Structures and Algorithm Analysis - Computer Science at ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

220 Chap. 6 Non-Binary Treestree after the UNION oper<strong>at</strong>ion. For example, consider processing theequivalence (A, B) where A ′ is the root of A <strong>and</strong> B ′ is the root of B.Assume the tree with root A ′ is bigger than the tree with root B ′ . At theend of the UNION/FIND oper<strong>at</strong>ion, nodes A, B, <strong>and</strong> B ′ will all pointdirectly to A ′ .

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

Saved successfully!

Ooh no, something went wrong!