← Time & Space Complexity Quiz: all 8 questions
Time & Space Complexity Quiz · Question 4 of 8
Simplify the complexity 3n² + 5n + 100.
Simplify the complexity 3n² + 5n + 100.
- A.O(3n²)
- B.O(n²)
- C.O(n² + n)
- D.O(n)
Answer & explanation
Correct answer: O(n²)
Drop constants and keep only the fastest-growing term.
Can you get the rest right without peeking?
Take the timed Time & Space Complexity Quiz quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →