Part 1

Algorithm Design

In this part of the book you shall be introduced to various concepts related to the field of algorithms, learn the definition of an algorithm and the significant points that set apart a good algorithm. The two fundamental concerns in algorithm development—correctness and efficiency—are introduced.

Chapter two reviews the steps that go into solving a problem on a computer and illustrates the actual steps of implementing an algorithm through some examples. The next chapter discusses top-down design approach, structured programming constructs, and recursion.

The fourth chapter takes up the issues involved in loop-based algorithms and explains algorithm design using techniques like looping (iteration). Factors that contribute ...

Get Design and analysis of Algorithms, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.