Data structures and Algorithms - Bruno R. Preiss