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