Optimization

In programming jargon, improving the efficiency of a program is called optimization.

(That's a misnomer. In mathematics and in theoretical computer science, the word "optimization" means to achieve the very best result possible. In this course, however, we'll use the word as most programmers use it.)

For debugging: Click here to validate.