Fundamentals of algorithmics - Brassard,Gilles (Prentice-hall, 2001)