Algorithms

Big O

A way to say how much an algorithm's work grows when the data grows.

Example

Searching a list of 1,000 items one by one is O(n): up to 1,000 steps. With binary search it's O(log n): about 10 steps.

Test yourself: Big O

Big O notation

Going through a whole list 1 time is…

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.