Harowitz, Ellis; Sahni, Sartaj and Rajasekaran S. Fundamentals of computer algorithms - Universities Press 2007 ISBN: 9788173716125