volume_mute

Generality is always a desired characteristic in an algorithm

publish date2022/06/10 02:34:00 GMT+10

volume_mute
True
False

Correct Answer

False

Explanation

Sometimes it is easier to design an algorithm in general terms.  However, in other situations, it may introduce unnecessary complexity to the problem.

Moreover, the set of inputs need to be agreed as well in order to ensure that they satisfy that required results without introducing unnecessary inputs for undesired results.

Reference

Introduction to the Design and Analysis of Algorithms, 3rd edition, go-math-science.com


Quizzes you can take where this question appears