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

Create successful ePaper yourself

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

576 INDEXfree tree, 373, 393, 399freelist, 117, 120full binary tree theorem, 147–149, 160,189, 213function, m<strong>at</strong>hem<strong>at</strong>ical, 16garbage collection, 106general tree, 195–219ADT, 196–197, 216converting to binary tree, 210, 217dynamic implement<strong>at</strong>ions, 217implement<strong>at</strong>ion, 206–210left-child/right-sibling, 206, 207,217list of children, 206, 217, 373parent pointer implement<strong>at</strong>ion,199–206, 437terminology, 195–196traversal, see traversalgenerics, xvi, 12, 95Geographic Inform<strong>at</strong>ion System, 7–8geometric distribution, 308, 519, 522gigabyte, 27graph, xv, 22, 371–403, 407adjacency list, 371, 373, 374, 381,400adjacency m<strong>at</strong>rix, 371, 373, 374,378, 379, 400, 408ADT, 371, 376, 378connected component, 373, 402,482edge, 372implement<strong>at</strong>ion, 371, 376–378modeling of problems, 371, 380,384, 389, 390, 393parallel edge, 372represent<strong>at</strong>ion, 373–376self loop, 372terminology, 371–373traversal, see traversal, graphundirected, 372, 408vertex, 372gre<strong>at</strong>est common divisor, see largestcommon factorgreedy algorithm, 183, 396, 397growth r<strong>at</strong>e, 53, 56–58, 85asymptotic, 63constant, 56, 64exponential, 58, 62, 536, 541–555linear, 58, 61, 63, 80quadr<strong>at</strong>ic, 58, 61, 62, 80, 81halting problem, 555–561Hamiltonian cycle, 563Harmonic Series, 31, 309, 475hashing, 7, 10, 29, 60, 302, 314–335,341, 342, 355, 409, 453, 481analysis of, 331–334bucket, 321–323, 339closed, 320–329, 338collision resolution, 315, 321–329,334, 335deletion, 334–335, 338double, 329, 338dynamic, 335hash function, 315–320, 337home position, 321linear probing, 324–326, 329, 333,334, 337, 339load factor, 331open, 320–321perfect, 315, 335primary clustering, 326–329probe function, 324, 325, 327–329probe sequence, 324–329, 331–335pseudo-r<strong>and</strong>om probing, 327, 329quadr<strong>at</strong>ic probing, 328, 329, 337,338search, 324table, 314tombstone, 334header node, 120, 128heap, 145, 147, 161, 170–177, 188, 191,193, 243–244, 262, 391, 397

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

Saved successfully!

Ooh no, something went wrong!