Efficiency of an algorithm is measured in terms of _____.
2021
Efficiency of an algorithm is measured in terms of _____.
- A.
Memory and processor speed
- B.
Time and space
- C.
Response time and completion time
- D.
Data and space
Attempted by 904 students.
Show answer & explanation
Correct answer: B
Efficiency of an algorithm is measured in terms of time and space complexity. Time complexity refers to the amount of time an algorithm takes to complete, while space complexity refers to the amount of memory it uses. These metrics help compare algorithms independently of hardware, making them standard in algorithm analysis.