Monday, March 20, 2023

Algorithm and their types


An algorithm and their types

An algorithm and their types are given below:  

What is an algorithm?

The word Algorithm means "A set of rules to be followed in calculations or other problem solving operations."

                                                            OR

"A procedure for solving a mathematical problem in a finite number of steps, that frequently by recursive operations"

Algorithm flow chart













TYPES OF ALGORITHMS

1-Brute Force Algorithm

2-Recursive Algorithm

3-Backtracking Algorithm

4-Searching Algorithm

5-Sorting Algorithm

6-Hashing Algorithm

7-Divide and conquer Algorithm

8-Greedy Algorithm

9-Dynamic Programming Algorithm

10-Randomized Algorithm



Algorithm and their types

An algorithm and their types An algorithm and their types are given below:     What is an algorithm? The word Algorithm means "A set of...