Quiz

Question 1 of 5. 0 correct, 0 incorrect.

Inside a loop over n items in Python, which of these make the loop O(n²) in the worst case rather than O(n)?

Hint

Ask how much of the list each call touches.