Because execution time in seconds fluctuates based on hardware, background processes, and programming language. Big O measures operations, which is a universal constant.
What is Big O Notation? An Absolute Beginner's Guide
Why don't we measure algorithm speed in seconds?
The answer
More FAQs in What is Big O Notation? An Absolute Beginner's Guide
It measures the growth rate of an algorithm's execution time (or memory usage) relative to the size of the input data.
It stands for 'Order of magnitude', representing the upper bound (worst-case scenario) of the algorithm's complexity.
In software engineering, systems must be designed to survive worst-case data loads without crashing. Optimizing for the worst case guarantees system stability.
Still have questions?
Browse all our FAQs or reach out to our support team
Want to upskill yourself?
Your learning library
Small steps. Big possibilities.
Find your next course. Build something great.