Aho, Alfred V. Hopcroft, John E. Ullman, Jeffrey D.

Data structures and algorithms