Design and analysis of algorithms. - Chandra Mohan I (New Delhi Prentice-Hall, 2008)