Algorithm Definition

A step-by-step procedure or formula to solve a particular mathematical or logical problem is known as an algorithm.

In simple words, a procedure used to solve any complex problem by dividing it into simple steps is known as an algorithm. It can be written in simple language that can be easily read and write by a human.

For a more precise understanding, let us have a short example of an algorithm of adding two digits, The algorithm of adding 10 and 20 is listed below:

Step 1: Add the 10

Step 2: Add the 20

Step 3: Add both digits from steps 1 and 2.


To know about arithmetic sequence, you can use our Arithmetic Sequence Definition.