Algorithm: Difference between revisions

Content deleted Content added
m removed self link
mNo edit summary
Line 1:
[[de:Algorithmus]][[eo:Algoritmo]][[fr:Algorithme]][[pl:Algorytm]][[nl:algoritme]][[it:Algoritmo]]
Generally, an '''algorithm''' is a list of instructions for accomplishing some task, and the task can be anything that has a recognizable end-point (or result). Often some of the specific steps in the procedure are to be repeated until the task is done. A recipe is one kind of algorithm, and there can be different algorithms for accomplishing the same task: Some recipes for making potato salad, for example, have "peel the potato" before "boil the potato", while some have the "boil" step before the "peel" step (and others leave out the "peel" step entirely), but they all call for those steps to be repeated for however many potatoes there are, and they all end when the potato salad is ready to eat.