📖 what

What is an algorithm?

TechnologyScience

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

1.The word algorithm comes from the name of the mathematician al-Khwarizmi.
2.The Euclidean algorithm dates back to around 300 BC.
3.Ada Lovelace published what is often called the first computer algorithm in 1843.

YouTube Angle

Suggested video title for this topic:

"What Is an Algorithm — The Recipes Running Your Digital Life"