Fundamentals of computer algorithms - Ellis Horowitz, Sartaj Sahni & Sanguthevar Rajasekaran (Universities press, Hyderabad, 2007)