Algorithm

Algorithms are the building blocks of modern technology, powering everything from simple mobile apps to advanced artificial intelligence. They provide a structured way to solve problems, making computing and automation possible.

definition Algorithm

Updated 17 February 2025 2-minute read

TL;DR (Too Long; Didn't Read)

An algorithm is a step-by-step set of rules or instructions designed to complete a task or solve a problem, often used in computing and mathematics.

Defining Algorithm

An algorithm is a precise sequence of instructions that defines how a task should be performed. It is commonly used in:

  • Computing - To process data, run software, and automate tasks.
  • Mathematics - For calculations, optimisations, and problem-solving.
  • Artificial Intelligence - To guide decision-making and machine learning models.

From search engines to cryptography, algorithms are at the heart of innovation, shaping the digital world around us.

Synonyms

Blueprint, method, procedure, approach, formula, system, calculation, process.

Antonyms

Structured approach, trial and error, experimentation

To specialise based on

  • Complexity task: from rule checking to Artificial Intelligence (AI)
  • Risk: and therefore have an impact on people.
  • Working methods: brute force, recursive, learning, searching, ...
  • Outcome: deterministic (input gives the same result every time) or not.
  • Domain: daily life, decision-making, AI, data science and more

Example

Everyday life: A bread-baking recipe. This algorithm consists of multiple steps that combine flour, water, yeast, and salt to bake a loaf.

Operations Research: Algorithms are used to optimise and make decisions in fields such as transportation, logistics, and resource allocation.

Artificial Intelligence: Algorithms are the foundation of artificial intelligence, and they are used to build intelligent systems capable of image recognition, natural language processing, and decision-making.

Data analysis: Algorithms are used in industries such as marketing, finance, and healthcare to analyse, process, and extract insights from huge amounts of data.

How describe an algorithm?

Natural language, flowcharts, pseudocode, and programming languages can all be used to describe algorithms. A natural language is often not accurate and clear enough to describe an algorithm, a description in a programming language is the most detailed.

« More Core AI Concepts