educative.io

Educative

Introduction: Experimental Evaluation

This lessons seems well written. However the following “algorithms being compared must be tested on the same input.” seem redundant

An algorithm might take longer to run on an input of greater size. Thus, algorithms being compared must be tested on the same input size. But that’s not all. Due to the presence of conditional statements, for a given input size, even the same algorithm’s running time may vary with the actual input given to it. This means that the algorithms being compared must be tested on the same input.

This is a tricky topic. That’s why we have added different scenarios to simplify things for the learners. If you have any other questions and concerns, feel free to ask.

Happy learning!

Maida Ijaz | Developer Advocate
educative.io