Design and Analysis of Computer Algorithms - Aho A.V.; Aho A.V., Hopcroft J.E. & Ullman J.D. (Pearson, 2003)