The Art of Computer Programming, Volume 3: Sorting and Searching, 2nd edition (1998)

by D E Knuth