Shape Shape

Time Complexity

Time Complexity is a measure of the time an algorithm takes to run relative to input size. Used in computer science to evaluate algorithm efficiency.

Example:

A sorting algorithm has O(n log n) time complexity for n elements.

WhatsApp Icon