Fundamentals of algorithms - Brassard, Gilles (Prentice Hall of India, 2001)