The design and anaysis of computer algorithms. - Aho, Alfred V.; Hopcroft, John E.; Ullman, Jeffrey D. (London : Addison-Wesley Publishing Company, Inc., 1975)