Design and analysis of algorithms - Panneerselvam, R. (Prentice-Hall of India, 2007)