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