Computer Science, asked by hello4792, 9 months ago

Define the time complexity of an algorithm.

Answers

Answered by gauravarduino
0

Explanation:

Time complexity of an algorithm quantifies the amount of time taken by an algorithm to run as a function of the length of the input. Similarly, Space complexity of an algorithm quantifies the amount of space or memory taken by an algorithm to run as a function of the length of the input.

Answered by Anonymous
4

Answer:

In computer science, the time complexity is the computational complexity that describes the amount of computer time it takes to run an algorithm. Thus, the amount of time taken and the number of elementary operations performed by the algorithm are taken to differ by at most a constant factor.

Similar questions