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.

INDEX 579octree, 451Ω not<strong>at</strong>ion, 65–68, 85one-way list, 101oper<strong>at</strong>ing system, 18, 170, 268, 270,273–276, 285, 288, 414, 421,426overhead, 79, 108–110binary tree, 190m<strong>at</strong>rix, 410stack, 121pairing, 536–538palindrome, 140partial order, 26, 47, 171poset, 26partition, 563p<strong>at</strong>h compression, 204–206, 216, 483permut<strong>at</strong>ion, 27, 47, 48, 79, 80, 244,255–257, 331physical represent<strong>at</strong>ion, see d<strong>at</strong>astructure, physical vs. logicalformPigeonhole Principle, 49, 50, 128point quadtree, 452, 456pop, see stack, poppostorder traversal, see traversal,postorderpowerset, see set, powersetPR quadtree, 13, 154, 210, 442,447–451, 453, 455, 456preorder traversal, see traversal,preorderprerequisite problem, 371Prim’s algorithm, 393–396, 401primary index, 342primary key, 342priority queue, 145, 161, 179, 193, 391,394probabilistic d<strong>at</strong>a structure, 509,516–522problem, 6, 16–18, 536analysis of, 53, 74–75, 224,253–257hard, 541–555impossible, 555–561instance, 16N P, 543N P-complete, 543–555, 561N P-hard, 545problem solving, 19program, 3, 18running time, 54–55programming style, 19proofcontradiction, 37–38, 49, 50, 396,538, 559, 560direct, 37induction, 32, 37–43, 46, 49, 50,148, 176, 184–185, 189, 257,399, 462–465, 467, 468, 471,480, 481, 483, 501pseudo-polynomial time algorithm, 552pseudocode, xvii, 18push, see stack, pushquadr<strong>at</strong>ic growth, see growth r<strong>at</strong>e,quadr<strong>at</strong>icqueue, 93, 125–131, 140, 141, 384,387, 388array-based, 125–128circular, 126–128, 140dequeue, 125, 126, 128empty vs. full, 127–128enqueue, 125, 126implement<strong>at</strong>ions compared, 131linked, 128, 130priority, see priority queueterminology, 125Quicksort, 123, 227, 236–244, 252,259, 262, 284–286, 288, 336,461analysis, 474–475

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

Saved successfully!

Ooh no, something went wrong!