scaling
in single-source shortest paths,
615 pr.
searching
in binary search trees,
256–258
in chained hash tables,
226
in compact lists,
218 pr.
in direct-address tables,
222
for an exact interval,
317 ex.
in open-address hash tables,
238
an unsorted array,
118 pr.
search tree, B-tree, exponential search
tree, interval tree, optimal binary search
tree, order-statistic tree, red-black tree,
splay tree, 2-3 tree, 2-3-4 tree
second-best minimum spanning tree,
575 pr.
selection
and comparison sorts,
192
in expected linear time,
185–189
in order-statistic trees,
303–304
in worst-case linear time,
189–193
shift in string matching,
906
short-circuiting operator,
20
Bellman-Ford algorithm for,
588–592
with bitonic paths, 618 pr.
convergence property of,
587,
609
and difference constraints,
601–607
Dijkstra's algorithm for,
595–601
in a directed acyclic graph,
592–595
in ∈-dense graphs, 641 pr.
Floyd-Warshall algorithm for,
629–632
Gabow's scaling algorithm for, 615 pr.
Johnson's algorithm for,
636–640
by matrix multiplication,
622–629
and negative-weight cycles,
582
with negative-weight edges,
582–583
optimal substructure of,
581–582
predecessor-subgraph property of,
587,
612–613
in an unweighted graph,
341,
535
upper-bound property of,
587,
608
single-destination shortest paths,
581
single-pair shortest path,
341,
581
single-source shortest paths,
580–619
Bellman-Ford algorithm for,
588–592
with bitonic paths, 618 pr.
and difference constraints,
601–607
Dijkstra's algorithm for,
595–601
in a directed acyclic graph,
592–595
in
∈-dense graphs,
641 pr.
Gabow's scaling algorithm for,
615 pr.
singular value decomposition,
769
size
of a boolean combinational circuit,
989
of a comparison network,
707
of a sorting network,
708 ex.
of a subtree in a Fibonacci heap,
495
SLOW-ALL-PAIRS-SHORTEST-PATHS,
625
solution
to an abstract problem,
972
to a computational problem,
6
to a concrete problem,
973
to a system of linear equations,
742
average-case lower bound for,
178 pr.
of points by polar angle, 939 ex.
using a binary search tree,
264 ex.
variable-length items,
179 pr.
sparse-hulled distribution,
964 pr.
square of a directed graph,
530 ex.
square root, modulo a prime,
903 pr.
squaring, repeated
for all-pairs shortest paths,
625–627
for raising a number to a power,
879
implemented by queues,
204 ex.
linked-list implementation of,
208 ex.
operations analyzed by accounting method,
410–411
operations analyzed by aggregate analysis,
406–408
operations analyzed by potential method,
413–414
for procedure execution,
162 pr.
on secondary storage,
452 pr.
state of a finite automaton,
916
Stirling's approximation,
55
based on repetition factors,
931 pr.
with gap characters,
910 ex.,
923 ex.
Knuth-Morris-Pratt algorithm for,
923–931
Rabin-Karp algorithm for,
911–916
strongly connected component,
1082
STRONGLY-CONNECTED-COMPONENTS,
554
strongly connected graph,
1082
subgraph-isomorphism problem,
1017 ex.
subset-sum problem
with unary target,
1017 ex.
maintaining sizes of, in order-statistic trees,
306–307
success in a Bernoulli trial,
1112
successor
in binary search trees,
258–259
finding
ith, of a node in an order-statistic tree,
307 ex.
in order-statistic trees,
310 ex.
suffix-function inequality,
920
suffix-function recursion lemma,
920
in asymptotic notation,
47,
1059
symmetric positive-definite matrix,
760–762
systems of difference constraints,
601–607
systems of linear equations,
742–755,
767 pr.