Algorithm
A set of exact steps that takes an input and always finishes with the right answer, like Euclid's way of finding the greatest common divisor.
Depth 1 · Foundation
You know an algorithm is exact steps that always finish with the answer, can run Euclid's algorithm by hand and in code, can say why its loop must end, and know that two correct algorithms can take very different numbers of steps.
Sign in to prove what you know with a short quiz, see how deep you've gone, and earn XP for it.
Sign in with GoogleDepths of understanding
- 1
Foundation
You know an algorithm is exact steps that always finish with the answer, can run Euclid's algorithm by hand and in code, can say why its loop must end, and know that two correct algorithms can take very different numbers of steps.
Your path here
What's still between you and Algorithm, depth 1, in the order you can learn it.
- 1ProgramDepth 1 · Foundation · Program Basics
- 2ExpressionDepth 1 · Foundation · Program Basics
- 3Variables in codeDepth 1 · Foundation · Program Basics
- 4Program stateDepth 1 · Foundation · Program Basics
- 5Input and outputDepth 1 · Foundation · Program Basics
- 6Functions in codeDepth 1 · Foundation · Functions
- 7Return valuesDepth 1 · Foundation · Functions
- 8BooleansDepth 1 · Foundation · Control Flow
- 9ConditionalsDepth 1 · Foundation · Control Flow
- 10LoopsDepth 1 · Foundation · Control Flow
- 11AlgorithmDepth 1 · Foundation · Algorithms