Algorithms

Algorithm

A list of clear steps that solves a problem and ends after a finite number of steps. With the same input, it always gives the same output.

Example

To add 1 to 100: start at 0 and add each number, 1 at a time. That's 100 steps and the result is 5,050.

Test yourself: Algorithm

What is an algorithm

What is an algorithm?

Lessons that use it

More algorithms terms

All terms →

Arki, the beaver mascot

Your next interview starts with 5 minutes today.

Free on iOS and Android. Start from zero, no account needed.