RTUComputer ScienceYr 2023 · Sem 52023

Q2Design and Analysis of Algorithms

Question

2 marks

What is Time Complexity?

Answer

Time Complexity mathematically quantifies the total CPU execution time an algorithm requires based on the input size.

Time Complexity is the absolute mathematical quantification of the total physical amount of time (or CPU clock cycles) an algorithm requires to execute to completion, rigorously expressed as a function of the length of the input string (), completely independent of physical hardware speed.

Back to Paper