Fundamentals of data structures - Sahni, Sartaj