Algorithmics theory and practice - Brassard, Giles (Prentice Hall, 1988)