The art of computer programming - Knuth, Donald Ervin (Addison-Wesley, 1997)
v. 1. Fundamental algorithms -- v. 2. Seminumerical algorithms -- v. 3. Sorting and searching.