The Design and Analysis of Computer Algorithms - Ullman, Jeffrey D; Aho, Alfred V; Hopcroft, John E (Addison-Wesley Publishing Company, 1974)