Introduction to the design and analysis of algorithms - Goodman, S. E; Hedetniemi, S. T (McGraw-Hill Computer Science Series, 1977)