
An algorithm is a specification of instructions for solving a class of problems by performing calculations and performing automated reasoning tasks and data processing. It describes a computation which when executed takes a finite number of successive states to produce an output...