TBS = 4n + TISn + 3
Let ni = number of elements in bucket B[i].
The expected time to sort elements in B[i] =
Note that the expected value of a random variable X as described in
Chapter 6, is
The variable x here represents the value of X, and Pr(X=x) represents the
probability that the value of X is x.
The variance of a random variable X with mean E[X] is notated Var[X].