Introduction to Algorithms - Cormen ,Thomas H. (New Delhi PHI Learning Pvt Ltd., 2010)