In Big O notation, what do you ignore when describing an algorithm's running time?
Constant factors and low-order terms, so 3n² + 5n + 7 is just O(n²).
- The size of the input
- The highest power of n
- Constant factors and low-order terms ✔
Why: Big O describes how time grows as the input gets huge. At large n, the biggest term wins, and a fixed multiplier like 3 matters far less than whether growth is n or n squared.
Huh, didn't know that: An O(n) algorithm with a big constant can lose to an O(n²) one on tiny inputs, which is why real libraries sometimes switch methods for small lists.
Big O walked into a bar and ordered 3n squared plus 5n drinks. The bartender just poured n squared.
References
Answer: Constant factors and low-order terms. Big O describes how time grows as the input gets huge. At large n, the biggest term wins, and a fixed multiplier like 3 matters far less than whether growth is n or n squared.
- MIT 6.006 Introduction to Algorithms, Lecture 1: Introduction ocw.mit.edu/courses/6-006-introduction-to-algorithms-spring-2020/resources/mit6_006s20_lec1
Asymptotic Notation: ignore constant factors and low order terms
Checked 2026-10-10.
Think this answer is wrong? Tap "Challenge this answer" on the card in the game and tell us why.
More stuff everyone should know
That's stuff everyone should know.