Fundamentals of computer Algorithms - Horowitz, Ellis; Rajasekaran, Sanguthevar .; Sahni, Sartaj (New Delhi : University press, 2007)