Design and Analysis of Computer Algorithms - Alfred V Aho; John E Hopcroft Jeffrey D Ullman (ADDISON WESLEY USA, 1999)