Data structures and algorithms - Aho, Alfred V. (Computer science and information processing, 1983)