THE IDEA
Understand the concept
An algorithm gives a repeatable path from a problem to a result. Good algorithms state their steps clearly, account for relevant cases, and eventually finish; everyday recipes and computer programs both use this idea.
WORKED EXAMPLE
