2 - What is algorithm? List out types of algorithm and explain.


What is algorithm? List out types of algorithm and explain.


An algorithm is a step-by-step procedure for solving a problem in a finite number of steps. It is written in our descriptive language.

There are six types of algorithm:

1. Recursive algorithm.
2. Divide and conquer algorithm.
3. Dynamic Programming algorithm.
4. Greedy algorithm.
5. Brute force algorithm.
6. Backtracking algorithm (tracing).


Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.