The art of computer programming, volume 1 (3rd ed.): fundamental algorithms (1997)

by D E Knuth