What is an algorithm? Types of algorithms?

An algorithm is a step-by-step set of instructions or a well-defined procedure for solving a specific problem or accomplishing a particular task. Algorithms are used in mathematics and computer science.

Types of algorithms:

  1. Brute Force Algorithm.
  2. Recursive Algorithm.
  3. Dynamic Programming Algorithm.
  4. Divide and Conquer Algorithm.
  5. Greedy Algorithm.
  6. Backtracking Algorithm.
  7. Randomized Algorithm.

Scroll to Top