Introduction to the design and analysis of algorithms. - Goodman, S.E (McGraw-Hill Book Company, 1977)