12.07.2015 Views

Heap sort and complexity, Disjoint Union & Find, Complexity ...

Heap sort and complexity, Disjoint Union & Find, Complexity ...

Heap sort and complexity, Disjoint Union & Find, Complexity ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2: Elementary Data StructuresIf we perform these sequence of <strong>Union</strong> <strong>and</strong> <strong>Find</strong>-U(1,2), F(1), U(2,3), F(1), U(3,4), F(1),........., U(n-1,n).results in the degenerate tree.nn-11

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

Saved successfully!

Ooh no, something went wrong!