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.

viContents6.1 General Tree Definitions <strong>and</strong> Terminology 1956.1.1 An ADT for General Tree Nodes 1966.1.2 General Tree Traversals 1976.2 The Parent Pointer Implement<strong>at</strong>ion 1996.3 General Tree Implement<strong>at</strong>ions 2066.3.1 List of Children 2066.3.2 The Left-Child/Right-Sibling Implement<strong>at</strong>ion 2066.3.3 Dynamic Node Implement<strong>at</strong>ions 2076.3.4 Dynamic “Left-Child/Right-Sibling” Implement<strong>at</strong>ion 2106.4 K-ary Trees 2106.5 Sequential Tree Implement<strong>at</strong>ions 2126.6 Further Reading 2156.7 Exercises 2156.8 Projects 218III Sorting <strong>and</strong> Searching 2217 Internal Sorting 2237.1 Sorting Terminology <strong>and</strong> Not<strong>at</strong>ion 2247.2 Three Θ(n 2 ) Sorting <strong>Algorithm</strong>s 2257.2.1 Insertion Sort 2257.2.2 Bubble Sort 2277.2.3 Selection Sort 2297.2.4 The Cost of Exchange Sorting 2307.3 Shellsort 2317.4 Mergesort 2337.5 Quicksort 2367.6 Heapsort 2437.7 Binsort <strong>and</strong> Radix Sort 2447.8 An Empirical Comparison of Sorting <strong>Algorithm</strong>s 2517.9 Lower Bounds for Sorting 2537.10 Further Reading 2577.11 Exercises 2577.12 Projects 261

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

Saved successfully!

Ooh no, something went wrong!