Computer Science, asked by pranjal4101D, 11 months ago

What is algorithm and its types?

Answers

Answered by aalaparunp66okp
2

An algorithm is a set of self contained sequence of instructions that will give us a result to a specific problem in a finite amount of time.

It is a logical and mathematical approach to solve or crack a problem using any possible method.

Types :

  1. Recursive Algorithm
  2. Dynamic Algorithm
  3. Backtracking Algorithm
  4. Randomized Algorithm

Hope this helps you

Answered by pranjalkbr
2

Types of Algorithm. Algorithms can be classified into 3 types based on their structures: Sequence: this type of algorithm is characterized with a series of steps, and each step will be executed one after another. Branching: this type of algorithm is represented by the "if-then" problems.

Attachments:
Similar questions