Design and analysis of algorithms - Gupta, Prabhakar (Prentice-Hall of India, 2008)