Explain the characteristics of algorithm.
The characteristics of algorithm are:
It must be simple.
Every step should perform a single task.
There should not be any confusion at any stage.
It must involve a finite number of instructions.
It should produce at least one output.
It must give a unique solution to the problem.
The algorithm must terminate and must not enter to infinity.