What does it mean to evaluate an algorithm?
What does it mean to evaluate an algorithm?

When you evaluate an algorithm, ask two linked questions: is it fit for purpose, and how efficient is it? Fitness for purpose means it meets the requirements and gives correct outputs for the cases it is meant to handle.