Algorithm

Definition

An algorithm is a set of step-by-step instructions designed to perform a particular task or solve a specific problem.

Explain Like I'm 5

Think of an algorithm like a cooking recipe. It tells you what ingredients you need and the steps you have to follow in order to make a dish.

Visualization

Algorithm Flow.png

Keep in mind, after completion, you need to go back and analyze whether the goal was accomplished and if you need to revise, iterate or debug the algorithm and start again.

Digging Deeper

In computing and mathematics, an algorithm is like a recipe that precisely defines a sequence of operations. These can range from simple procedures like sorting numbers in ascending order to complex operations such as training a machine learning model or decrypting encrypted data. Algorithms are usually created as functions within programming languages, providing the means for computers to solve problems and manipulate data. They are fundamental for many areas of computer science, including data analysis, artificial intelligence, graphics, network design, and cryptography.

Applications

Learn More

Wikipedia

Beginner-friendly video on Algorithms

In-depth technical resource on Algorithms

AI and Machine Learning Index