The art of computer programming, Sorting and Searching (1973)

by D E Knuth