Fundamentals of algorthms - Brassard, Gillles (New Delhi Prentice Hall of India, 2001)