An introduction to the analysis of algorithms. - Sedgewick, Robert (Addison-Wesley Publishing Company, 1996)