Sorting and Searching, The Art of Computer Programming 3, 2nd Edition (1998)

by D E Knuth