Skip to main contentSkip to solution

_______is performed to explain how an algorithm will perform when the input grows larger.

Solution

✅ Correct Option: 1

Complexity analysis studies how the time (time complexity) or memory (space complexity) an algorithm needs grows as the input size nn increases. The result is usually written in asymptotic notation such as O(n)O(n) or O(n2)O(n^2).


Option 2: logarithmic behaviour, such as O(log⁡n)O(\log n), is just one possible growth rate an algorithm can have. It is not the name of the analysis.

Options 3 and 4: these are not standard methods for measuring how an algorithm scales with input size.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question