What is an algorithm?
Quick Answer
An algorithm is a precise, step-by-step set of instructions for solving a problem or completing a task, used by computers for everything from searching to recommending videos.
The Full Story
An algorithm is like a recipe: it takes inputs, follows clearly defined steps and produces an output. The word comes from the name of the 9th-century Persian mathematician Muhammad ibn Musa al-Khwarizmi, whose works introduced systematic arithmetic methods to Europe. Ancient examples include the Euclidean algorithm for finding the greatest common divisor, described around 300 BC. In computing, algorithms sort data, find the fastest route on a map, compress files and rank search results. Today the word is often used for the recommendation systems behind social media feeds, which decide what content each user sees.
Key Facts
YouTube Angle
Suggested video title for this topic:
"What Is an Algorithm — The Recipes Running Your Digital Life"