Design and analysis of computer algorithms - Aho, Alfred V. (Massachusetts : Addison-Wesley pub co, 1974)