The Design and analysis of computer algorithms - Aho, Alfred V (Pearson Education, 1974)