Design and Analysis of Computer Algorithms - Aho,, Alfred V. (Addison-Wesley, 2001)