– What is an algorithm?

869 views

– What is an algorithm?

In: 8

20 Answers

Anonymous 0 Comments

In a computer science class I took, algorithms were defined as a finite set of instructions which will produce an answer to a question with infinite variations.

The fact that the question must have infinite variations is only relevant because, if a question has a finite set of variations, then you could memorize all the possible answers and record them in a table somewhere and avoid using an algorithm.

In casual day-to-day usage, the word seems to refer to anything not-sentient which makes a decision.

You are viewing 1 out of 20 answers, click here to view all answers.