back substitution, 745
bad guy, 539 ex.
BAD-SET-COVER-INSTANCE, 1038 ex.
BALANCE, 296 pr.
balanced search tree
AA-trees, 301
AVL trees, 296 pr.
k-neighbor trees, 301
scapegoat trees, 301
treaps, 296 pr.
weight-balanced trees, 301, 427 pr.
balls and bins, 109–110, 1125 pr.
base, 350
base-a pseudoprime, 889
base case, 64
basic feasible solution, 792
basic solution, 792
basic variable, 782
basis function, 762
Batcher's odd-even merging network, 721 pr.
Bayes's theorem, 1104
BELLMAN-FORD, 588
Bellman-Ford algorithm, 588–592
for all-pairs shortest paths, 620, 639
in Johnson's algorithm, 639
and objective functions, 606–607 ex.
to solve systems of difference constraints, 605
Yen's improvement to, 614 pr.
BELOW, 942
Bernoulli trial, 1112
best-case running time, 27 ex., 46
BFS, 532
BIASED-RANDOM, 94 ex.
biconnected component, 558 pr.
big-oh notation, 43 fig., 44–45
big-omega notation, 43 fig., 45–46
bijective function, 1079
binary character code, 385
binary counter
analyzed by accounting method, 411–412
analyzed by aggregate analysis, 408–409
analyzed by potential method, 414–415
and binomial heaps, 472 ex.
bit-reversed, 425 pr.
binary entropy function, 1098
binary gcd algorithm, 902 pr.
binary heap, see heap
binary relation, 1075
binary search, 37 ex.
with fast insertion, 426 pr.
in insertion sort, 37 ex.
in searching B-trees, 449 ex.
AA-trees, 301
AVL trees, 296 pr.
with equal keys, 268 pr.
insertion into, 261
k-neighbor trees, 301
maximum key of, 258
minimum key of, 258
randomly built, 265–268, 270 pr.
scapegoat trees, 301
for sorting, 264 ex.
splay trees, 301
and treaps, 296 pr.
weight-balanced trees, 301
see also red-black tree
binary-search-tree property, 254
vs. min-heap property, 256 ex.
binary tree, 1088
full, 1089
number of different ones, 271 pr.
representation of, 214
see also binary search tree
binomial coefficient, 1096–1098
binomial distribution, 1113–1116
and balls and bins, 109
maximum value of, 1117 ex.
binomial expansion, 1096
and binary counter and binary addition, 472 ex.
creating, 461
decreasing a key in, 470
extracting the minimum key from, 468–469
insertion into, 468
minimum key of, 462
in minimum-spanning-tree algorithm, 474 pr.
properties of, 459
running times of operations on, 456 fig.
BINOMIAL-HEAP-DECREASE-KEY, 470
BINOMIAL-HEAP-DELETE, 470
BINOMIAL-HEAP-EXTRACT-MIN, 468
BINOMIAL-HEAP-INSERT, 468
BINOMIAL-HEAP-MERGE, 464
BINOMIAL-HEAP-MINIMUM, 462
BINOMIAL-HEAP-UNION, 463
BINOMIAL-LINK, 462
unordered, 479
bin packing, 1049 pr.
bipartite graph, 1083
corresponding flow network of, 665
d-regular, 669 ex.
and hypergraphs, 1084 ex.
bipartite matching, 497, 664–669
Hopcroft-Karp algorithm for, 696 pr.
biscuit to be kept out of basket, 646
bisection of a tree, 1092 pr.
bitonic euclidean traveling-salesman problem, 364 pr.
bitonic sequence, 712
and shortest paths, 618 pr.
BITONIC-SORTER, 715
bitonic sorting network, 712–716
bitonic tour, 364 pr.
bit operation, 850
in Euclid's algorithm, 902 pr.
bit-reversal permutation, 425 pr., 841
BIT-REVERSE-COPY, 842
bit-reversed binary counter, 425 pr.
BIT-REVERSED-INCREMENT, 425 pr.
bit vector, 222 ex.
black-height, 274
blocking flow, 697
block structure in pseudocode, 19
Bob, 881
Boole's inequality, 1105 ex.
boolean combinational circuit, 988
boolean combinational element, 987
boolean connective, 996
boolean formula, 967, 983 ex., 996, 1002 ex.
boolean function, 1098 ex.
boolean matrix multiplication
and transitive closure, 759 ex.
Boruvka's algorithm, 578
bottleneck spanning tree, 577 pr.
bottleneck traveling-salesman problem, 1033 ex.
bottom of a stack, 200
bound
asymptotically tight, 42
asymptotic lower, 45
asymptotic upper, 44
on binomial coefficients, 1097–1098
on binomial distributions, 1116
polylogarithmic, 54
on the tails of a binomial distribution, 1118–1125
boundary of a polygon, 939 ex.
bounding a summation, 1062–1069
box, nesting, 615 pr.
B+-tree, 438
branching factor, in B-trees, 437
branch instructions, 22
and shortest paths, 534–537, 581
similarity to Dijkstra's algorithm, 599, 600 ex.
bridge, 558 pr.
B*-tree, 439
creating, 442
full node in, 439
minimum degree of, 439
minimum key of, 447 ex.
2-3-4 trees, 439
B-TREE-CREATE, 442
B-TREE-DELETE, 449
B-TREE-INSERT, 445
B-TREE-INSERT-NONFULL, 446
B-TREE-SPLIT-CHILD, 444
BUBBLESORT, 38 pr.
bucket, 174
BUCKET-SORT, 174
BUILD-MAX-HEAP, 133
BUILD-MAX-HEAP', 142 pr.
BUILD-MIN-HEAP, 135
butterfly operation, 839