Analyzing Code Complexity

Question 1 of 6

What is the time complexity of this code? ``` for i in range(n): doWork() for j in range(n): doMoreWork() ```

← Back to categories