Introduction to Algorithms - Cormen,Thomas H (INDIA Prentice-Hall, 2003)