Algorithm is a step by step procedure used to obtain a particular goal when in search for problems solutions.Algorithm according to a dictionary is a formula in problem solving, in computer algorithm is used to program a particular system for automation or create a function.