To assess the quality of an algorithm, the following three measures are typically used:
-
Time complexity - This measures how the runtime of an algorithm increases with the size of the input data.
-
Resource consumption - This considers the memory and other resources that an algorithm consumes while running.
-
Reusability - This reflects how easily the algorithm or parts of it can be reused in different programs or contexts.
So the correct answers are:
- Time complexity
- Resource consumption
- Reusability