To determine the efficiency of an algorithm the time factor is measured by:
Show answerHide answer
Correct answer: (B) Counting number of key operations
Explanation
The complexity is commonly estimated by counting the number of elementary operations performed by the algorithm, where an elementary operation takes a fixed amount of time to perform. Thus the amount of time taken and the number of elementary operations performed by the algorithm differ by at most a constant factor.