Computer Sciencecalendar_todayLast updated: Apr 2026
What is Algorithm?
/ˌæl ˈɡɒrɪðəm/
An algorithm is a step-by-step set of instructions or rules for solving a problem or completing a task. Every computer program is ultimately a collection of algorithms.
lightbulb
Everyday Example
A recipe is an algorithm for making food. Your GPS's route-finding uses a shortest-path algorithm to calculate directions in milliseconds.
publicReal-World Application
“Google's search ranking algorithm weighs hundreds of signals to decide which pages to show you. YouTube's recommendation algorithm has been studied and debated for influencing society at scale.”
psychology
Did you know?
The word "algorithm" comes from the name of 9th-century Persian mathematician Muhammad ibn Musa al-Khwarizmi, whose book introduced the concept of step-by-step calculation.
emoji_objects
Key Insight
Algorithms are neutral tools — their effects on the world depend entirely on their design and the data they process. An algorithm designed to maximise engagement can inadvertently maximise outrage.
Want to learn Algorithm in 60 seconds?
Join 50,000+ learners snacking on knowledge daily.