Algorithms, second edition (1988)

by R Sedgewick