Data structures and algorithm analysis in C - Weiss, Mark Allen (Addison-Wesley; Pearson Education, 1997)