Algorithm

An algorithm is a finite, unambiguous sequence of steps that solves a class of problems: a recipe that takes an input, applies rules, and always produces an output. Every piece of software, AI included, is algorithms all the way down.

Fundamentalsroutineprocedure
§ 01DefinitionAlgorithm

No jargon, no math

In plain words, what is it?

An algorithm is a recipe with zero judgement. You give it an input, it runs the steps in order, hits a decision, follows the branch, and hands back an output. For the same input it always returns the same output, and that is exactly the point. A route sorter, a checksum, a search: all fixed rules written by a human in advance. Machine learning flips the deal: there a human writes the algorithm that learns, and the steps inside get shaped by the data. Classic algorithms fail when the problem changes shape and the written steps no longer cover it. They never improvise.

§ 02How it worksInput → steps → decision → output
  1. 01

    Input. You hand over the data the recipe expects: a list, a number, an image.

  2. 02

    Steps. It executes the rules in order. No improvisation, no judgement.

  3. 03

    Decision. A condition is checked and the path splits: yes or no.

  4. 04

    Output. A result comes back, identical for identical input.

  5. 05

    Done. It halts, or loops back to take the next input.

§ 04

Want this running in your stack?

We design and ship AI systems with permissions, logs and human approval. It starts with a 30-minute scoping call.