← BYTES
Algorithms·Starter·Ref: 12.1.1

What does Big O notation describe about an algorithm?

Have a question about this video? Mention reference 12.1.1 when you contact us.

a.The exact number of seconds it takes to run
b.How its runtime or memory usage grows as the input size grows, focusing on the dominant term as input size approaches infinity
c.The programming language it was written in
d.The number of bugs it contains
Big O describes an algorithm's GROWTH RATE (asymptotic behavior) as input size n increases, not a literal wall-clock time -- O(n) means runtime grows roughly linearly, O(n^2) roughly quadratically, letting you compare algorithms' scalability independent of hardware or constant-factor differences.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES1211#Algorithms