Introduction to algorithms - Cormen, Thomas H (et al) (PHI Learning Pvt. Ltd, New Delhi, 2012)