The most valuable acquisitions in a scientific or technical education are the general-purpose mental tools which remain serviceable for a life-time.——George Forsythe, "What to do till the computer scientist comes" 0968) Algorithms play the central role in both the science and the practice of computing. Recognition of this fact has led to the appearance of a considerable number of textbooks on the subject. By and large, they follow one of two alternatives in presenting algorithm& One classifies algorithms according to a problem ty...
目录
Preface 1 Introduction 1.1 Notion of Algorithm Exercises 1.1 1.2 Fundamentals of Algorithmic Problem Solving Understanding the Problem Ascertaining the Capabilities of a Computational Device Choosing between Exact and Approximate Problem Solving Deciding on Appropriate Data Structures Algorithm Design Techniques Methods of Specifying an Algorithm Proving an Algorithm's Correctness Analyzing an Algorithm Coding an Algorithm Exercises 1.2 1.3 Important Problem Types Sorting Searching String Processing Graph Problems