The design and analysis of computer algorithms - Aho Alfred V.; Hopcroft John E.; Ullman Jeffrey D. (Addison-Wesley Series in Computer Science and Information Processing, 1974)