Algorithms and complexity - Wilf Herbert S (1986)