algorithm
C1Pronunciation
UK
- /ˈælɡərˌɪθəm/
US
- /ˈælɡərˌɪðəm/
Description
- step-by-step instructions
- procedure
- recipe
- set of rules
Imagine you're teaching someone how to make your famous chocolate chip cookies. You wouldn't just say "bake some cookies!" Instead, you'd give them a detailed list of steps: preheat the oven, cream butter and sugar, add eggs, mix in flour… That list of instructions is an algorithm!
Derived from the name of the Persian mathematician Al-Khwarizmi, an algorithm isn't just for baking. It's any well-defined procedure used to solve a problem or accomplish a task. In computer science, algorithms are everything. They tell computers exactly what to do. Think about how Netflix recommends movies—that's powered by complex algorithms! You encounter them daily, even if you don't realize it: from the directions in an IKEA furniture kit to the steps your GPS uses to find the fastest route.
An algorithm is a precise sequence of instructions designed to perform a specific task or solve a particular problem. It's essentially a recipe—but instead of ingredients and cooking times, it deals with data and operations.
The concept dates back centuries, originating from the work of the 9th-century Persian mathematician Muhammad ibn Musa al-Khwarizmi (hence the name!). Initially used in mathematics to solve equations, algorithms have become fundamental to computer science. Every piece of software and every website you visit relies on countless algorithms working behind the scenes.
Algorithms aren't limited to computers, though! Any step-by-step process can be considered an algorithm. Consider tying your shoes—there's a specific order you follow (loop, swoop, and pull!). Or consider following a recipe for baking a cake.
In computer science, a good algorithm is efficient—it solves the problem quickly and with minimal resources. There are algorithms for sorting data, searching databases, compressing files, and much more. Google's search engine uses incredibly complex algorithms to rank websites based on relevance. Social media platforms use algorithms to determine what content you see in your feed.
So, whether it's a simple set of instructions or a sophisticated computer program, an algorithm is the backbone of problem-solving—a clear, step-by-step path from input to output.
Examples
- 1
Music app
The app uses an algorithm to suggest songs you might like.
- 2
Fake reviews
Our team is building an algorithm for finding fake reviews.
Pattern
an algorithm for + -ing
a system designed for that task
- 3
Recommendations
The recommendation algorithm kept showing me the same kind of video.
- 4
Data errors
Even a small mistake in the data can change what the algorithm shows people.
- 5
Search engines
Search engines update their algorithms all the time.
- 6
Education
Some teachers worry that an algorithm cannot fully measure a student's ability.
- 7
Hiring
The company had to explain why its hiring algorithm rejected so many applicants.
- 8
Platform strategy
A lot of creators are trying to figure out how to beat the algorithm.
Phrase
beat the algorithm
get better results by understanding how a platform chooses what people see
Forms and spellings
2 forms open this card.
Main spelling
- algorithmnoun
Forms
- algorithmspluralnoun