An introduction to data structures with applications - Tremblay, Jean-Paul; Sorenson, Paul G.