IT Glossary
What is an algorithm: definition, properties, origin
An algorithm is a finite sequence of precise steps by which a person or a computer solves a problem, from calculating VAT to routing a courier.
- 7
- sections
- 7
- questions answered
An algorithm is a finite sequence of precise steps that, starting from input data, reaches a result; the Romanian dictionary DEX defines it, in the general sense, as a “sequence of operations needed to solve any given problem”. The word reached Romanian from French (“algorithme”, per DEX '16) and, through medieval Latin, goes back to the name of the mathematician al-Khwarizmi, who worked in Baghdad in the 9th century. In Romanian it is written “algoritm”, plural “algoritmi” (DOOM 3, 2021).
In a company, algorithms are everywhere: the invoicing software that works out the VAT, the bank that decides in seconds whether to approve a loan, the online shop that tells you customers also bought something else. A computer does not accept “it depends”, so automating a process forces you to write its rules down, and the exceptions that used to be handled case by case come to light. When a supplier talks about their “intelligent algorithm”, ask which rules it actually applies and to which data: the algorithm is only the list of steps, and the quality of the data decides the result.
Why it matters for your business
Perfect consistency at volume
An algorithm applies the same rules to the tenth invoice and the ten-thousandth, with no fatigue, no shortcuts and no personal interpretation.
Processes become explicit and auditable
Automation forces the company's unwritten rules to be stated clearly — an exercise that regularly uncovers valuable inconsistencies before any software is built.
The basis of every automation gain
From courier routing to dynamic pricing, efficiency improvements in software are, at bottom, better algorithms applied to your own data.
The dictionary definition and where the word comes from
The Romanian DEX '16 gives two senses. The first, from mathematics and logic: a set of symbols used in mathematics and logic that allows results to be found mechanically, by calculation. The second, general: a sequence of operations needed to solve any given problem. Its etymology is the French “algorithme”.
French took the word, through medieval Latin, from the name of al-Khwarizmi (c. 780 – c. 850), a mathematician who worked at the House of Wisdom in Baghdad. His arithmetic treatise survives only in a Latin translation, “Algoritmi de numero Indorum”, and the Arabic original is lost. The word “algebra” comes from the title of his treatise on algebra (al-jabr).
Spelling, in Romanian: DOOM 2 (2005) and DOOM 3 (2021) list “algoritm” as a masculine noun with the plural “algoritmi”. DEX '16 still gives a neuter plural “algoritme” as an alternative, but the normative form is “algoritmi”. In Romanian political language, “algoritmul” means splitting the posts in a coalition in proportion to each party's weight (dexonline, Argou 2007): the same idea, a fixed rule applied mechanically.
The properties of an algorithm
Donald Knuth (The Art of Computer Programming, vol. 1, §1.1) lists five properties: finiteness (it stops after a finite number of steps), definiteness (every step is defined exactly, with no ambiguity), input (zero or more starting values), output (at least one result related to the input) and effectiveness (every operation can be done exactly, in finite time, by a person with pencil and paper).
For an owner, definiteness matters most. A rule like “we give a discount to important customers, case by case” fails it and cannot be automated. That is why automation projects start by writing the rules down: “important” becomes “above a certain total bought in the last 12 months”, and the exceptions get rules of their own.
Want an estimate for your project?
Message us on WhatsApp. We reply the same working day, and the first 30-minute call is free.
Types of algorithms and business examples
By method, algorithms can be iterative (they repeat a group of steps) or recursive (they call themselves on a smaller problem), deterministic (the same result on every run) or probabilistic, exact or approximate (heuristics, used when an exact solution would take too long). Well-known strategies are greedy (pick the best local option at each step), divide and conquer (split the problem into smaller parts) and dynamic programming (remember the results of subproblems).
Examples from the work of a company: binary search finds a value in a sorted list of 1,000,000 items in at most 20 steps, because 2^20 is 1,048,576. Dijkstra's algorithm finds the shortest path in a network, which is the basis of delivery routing. Calculation rules apply VAT, discounts and due dates. Credit scoring decides from a set of rules and the customer's data. Recommendation engines order the products shown.
Algorithm, program and artificial intelligence
The algorithm is the abstract recipe; the program is the same algorithm written in a programming language, that is, the source code the computer executes. The same algorithm can be written in Python, Java or C without changing.
Artificial intelligence differs in how the rules appear: a person does not write them, they are inferred from data. Regulation (EU) 2024/1689 (the AI Act), Article 3(1), defines an “AI system” as a system that infers, from the input it receives, how to generate outputs. Recital 12 adds that the definition does not cover systems based on rules defined solely by natural persons to automatically execute operations. A VAT calculator or an approval rule you wrote yourself is therefore a classic algorithm, not an AI system under the AI Act; still, check it against your own case. In short, with machine learning the outputs are probabilistic and must be verified.
When an algorithm decides about people: GDPR and platforms
GDPR Article 22(1) gives a person the right not to be subject to a decision based solely on automated processing, including profiling, that produces legal effects or similarly significantly affects them. Recital 71 gives as examples the automatic refusal of an online credit application and e-recruiting practices without any human intervention. Article 22(2) allows exceptions (contractual necessity, a law, explicit consent), but in the contract and consent cases, paragraph 3 requires at least the right to human intervention, to express a point of view and to contest the decision; when the exception comes from a law, the law must provide the safeguards. Practical takeaway: if you automatically reject candidates, customers or credit applications, build in a step where a person reviews the case.
Large platforms also decide algorithmically which products and offers are seen. Regulation (EU) 2019/1150, Article 5(1), requires online intermediation services (marketplaces, app stores) to set out in their terms and conditions the main parameters that determine ranking, and Article 5(3) requires them to describe the influence of paid placement. If your sales drop suddenly on a platform, start with those clauses.
Frequently asked questions
What is the difference between an algorithm and a program?
The algorithm is the abstract recipe, meaning the logical steps; the program is that recipe written out in a language a computer can execute. The same algorithm can be implemented in Python, Java or C, and the logic stays unchanged from one language to the next.
What do people mean when they say a platform's algorithm is working against them?
Platforms decide algorithmically which products get seen, and when their rules change your visibility changes. If you sell through a marketplace or an app store, Regulation (EU) 2019/1150, Article 5, obliges it to state the main ranking parameters in its terms and conditions: read them, and build your own channels, such as a site and a mailing list.
Are artificial intelligence algorithms also just recipes of steps?
Fundamentally yes, with one difference: the rules are no longer written by a person but inferred statistically from data. Recital 12 of the AI Act excludes rules defined solely by people; an AI system infers its rules, so its outputs are probabilistic and must be verified.
Where does the word algorithm come from?
From the name of al-Khwarizmi, a 9th-century mathematician at the House of Wisdom in Baghdad, through medieval Latin and French (Romanian DEX '16 gives French “algorithme”). His arithmetic treatise survives only in a Latin translation, “Algoritmi de numero Indorum”.
Is the Romanian plural algoritmi or algoritme?
It is “algoritmi”: DOOM 2 (2005) and DOOM 3 (2021) list “algoritm” as a masculine noun with the plural “algoritmi”. DEX '16 still lists the neuter plural “algoritme” as an alternative, but the normative form is “algoritmi”, the one recommended today.
What properties must an algorithm have?
Five, following Knuth: finiteness (it stops after a finite number of steps), definiteness (every step is exactly defined), input (zero or more values), output (at least one result) and effectiveness (every operation can be done exactly, in finite time).
Can a company automatically reject a request using an algorithm?
As a rule no, if the decision is solely automated and has legal or similarly significant effects (GDPR Article 22). Exceptions exist for contract, law or explicit consent. For contract and consent, the person keeps the right to human intervention and to contest the decision; for a law, the law sets the safeguards.
Let’s talk about your project
Book a free 30-minute call or send us an email. We reply the same working day.
office@northdan.com · +40 750 252 851