The design and analysis of computer algorithms - Aho, Alfred V.; Hopcroft, John E., 1939-; Ullman, Jeffrey D., 1942- (Addison-Wesley series in computer science and information processing, 1974)