Algorithms

An algorithm is a set of instructions/steps/rules that are followed to solve a problem.

There are two common methods to express algorithm designs, they are pseudocode and flowcharts.

Both methods are perfectly acceptable and have their individual merits.