i
A Working Definition daniel-hromada ()


A Working Definition

An algorithm is a finite, well-defined sequence of steps that transforms a given input into a desired output.

Finite — it has to actually end, eventually.

Well-defined — each step is unambiguous; anyone, or anything, following it correctly gets the same result.

Input / output — it does something to something.