>_
SWE Maxx
Questions
Quizzes
Daily challenge
System design
My attempts
Sign in
☀
☾
Light mode
Dark mode
Loading question…
Sign in
What is the time complexity of two nested loops that each independently run n times? | SWE Maxx
← Question bank
Algorithms · Multiple Choice
Difficulty: Easy
What is the time complexity of two nested loops that each independently run n times?
Complexity reasoning
Asymptotic analysis
Choose your answer
A
O(1)
B
O(n²)
C
O(n)
D
O(log n)
Check answer
More in Algorithms →