🧮Algorithm
Also known as Algorithms
A set of clear steps that solves a problem. Programs are built from them.
Think of it like
Think of it like a recipe. Follow the steps in order, and you get the same cake each time.
Example
Jack's map app uses an algorithm to find the quickest way home. It checks many roads and picks the one that takes 12 minutes.
Why it matters
A better algorithm can turn a job of hours into a job of one second.
Definition
Common mistake
Key takeaways
- 1Clear steps. No guessing about what comes next.
- 2It finishes. With an answer every time.
- 3Many per problem. Some much faster.