23.11.2014 Views

Data Structures and Algorithms in Java[1].pdf - Fulvio Frisone

Data Structures and Algorithms in Java[1].pdf - Fulvio Frisone

Data Structures and Algorithms in Java[1].pdf - Fulvio Frisone

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

early approaches to balanc<strong>in</strong>g trees. Splay trees were <strong>in</strong>vented by Sleator <strong>and</strong> Tarjan<br />

[86] (see also [91]).<br />

Chapter 11<br />

Sort<strong>in</strong>g, Sets, <strong>and</strong> Selection.<br />

Contents<br />

11.1<br />

Merge-Sort........................<br />

488<br />

11.1.1<br />

Divide-<strong>and</strong>-Conquer..................<br />

488<br />

11.1.2<br />

Merg<strong>in</strong>g Arrays <strong>and</strong> Lists...............<br />

493<br />

11.1.3<br />

The Runn<strong>in</strong>g Time of Merge-Sort..........<br />

496<br />

11.1.4<br />

<strong>Java</strong> Implementations of Merge-Sort.........<br />

675

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

Saved successfully!

Ooh no, something went wrong!