Data Structures and Algorithms - AHO V ALFRED, HOPCROFT E JOHN, ULLMAN D JEFFREY (Massachusetts Addison Welsey Publishing Company, 1987)