The Design and analysis of computer algorithms. - Aho, Alfred V. (Addison-Wesley Series in computer science and information processing., 1974)