An algorithm is a process or set of rules to be followed in calculations or other problem-solving operations, esp. by a computer.