Data structures and algorithms - Aho, Alfred V. (Pearson Education, 1983)