Home›Study Resources›Computer Science›
What is Big O notation?
Computer Science
A-Level

What is Big O notation?

Big O notation describes how an algorithm's running time grows as the input size n increases, usually in the worst case. Common complexities are O(1), O(log n), O(n), O(n log n), O(n²) and O(2ⁿ). To simplify, keep the fastest-growing term and drop constants, so 3n² + 5n becomes O(n²).

Reviewed by

Want one-to-one support?

One-to-one online tuition can help you build confidence in your subject. Find a tutor who teaches your course.

Find a Tutor

Learn face to face in Glasgow

Prefer in-person lessons? Visit the ExpertTutor Glasgow Southside centre.

See the centre