Time complexity measures?

  • AMemory usage
  • BSpeed of execution
  • CCode length
  • DOutput size
Show answerHide answer

Correct answer B

Time complexity helps developers choose efficient algorithms for faster execution. It helps predict performance for large datasets. Common notations include O(1), O(n), O(n²), etc. It does not measure memory usage—that is space complexity.