Discrete math · Asymptotics and big-O

Lab: Measuring a sort's growth

When the code is too tangled to count, engineers time it at a few sizes and read its growth off a log-log plot.