Fundamentals of computer algonthms - Horowitz Ellis & Sahni Sartaj (Computer Science Press, 1990)