Data structures,algorithms and applications in java : second edition - Sahni Sartaj (Foundation books publishing, 2007)