Algorithm
An algorithm is a step-by-step set of instructions for solving a problem or performing a task.
Written by
Farhan Banerjee
First written 15 Nov 2023
Human edits 0
Read 1 times
An algorithm is a clear, step-by-step set of instructions for solving a problem or completing a task.
In computing
Algorithms are the basis of computer programs. For example, a search engine uses algorithms to rank results, and a map app uses them to find the shortest route.
Everyday examples
Even a cooking recipe or directions to a place is a kind of algorithm. Good algorithms are correct and efficient, using as little time and resources as possible.
Frequently asked questions
What is an algorithm?
A step-by-step set of instructions to solve a problem.
Where are algorithms used?
In computer programs, search engines, maps and many everyday tasks.