Data structures and algorithms - Aho, Alfred V. (Addison- Wesley, 1999)