What is an Algorithm?

Updated: Oct 13, 2021

An Algorithm is a way of solving Well-Specified Computational problems

- by Corman et al.

A finite set of rules that give a sequence of operations for solving a specific type of problem.

- by Knuth.



Example of an Algorithm in real life

Algorithm of how to make tea by step:

  1. Put tea bag in a cup

  2. Fill kettle with water

  3. Boil kettle

  4. pour water into cup

  5. Add milk

  6. Stir

  7. Drink