A #concept in #ComputerScience
Intuitively, an algorithm is a sequence of steps that we can carry out to obtain the answer to a given problem, like a recipe.
However, to formalize this idea, we must distinguish between recipes that always produce the correct response, and recipes that may fail to do so under some circumstances:
These two notions are formalized in the concept of a Turing machine.