Monday, 5 June 2017

Algorithm - C Programming Language

What is Algorithm?

Algorithm is a set of step by step solution of a complex problems. It define a flow of step in very sequence manner. Algorithm is a procedure or formula for solving any problem. This concept of step by step solving any problem are being used in Mathematics and any now a days in computer science.


Algorithm Definition - Algorithm in Programming


An Algorithm is a finite set of steps defining the solution of a particular problem. An efficient Algorithm is one which is capable of giving the solution to the problem by using minimum resources of the system such as memory and processor time.

What is the features of Algorithm- Algorithm Characteristics


The features of Algorithm are following:-

1. Documentation of the Program - Documentation of the program is very necessary which facilitates the debugging and providing information. A related part the documentation is the information that the programmer presents to the user  during the execution of the program.
2. Proper understanding of the problem- This is very important feature of Algorithm. The expectation of the program must be clearly understood before starting of the programming phase. It should be very well defined the target and main goal of the program before starting of the initial phase of the program.
3. Choice of variable and constant name ; - Proper choice of variable and constant name tends to make the program more self documenting.


Algorithm in pdf

TO Studies in more detail please visit 
http://beust.com/algorithms.pdf
http://citc.ui.ac.ir/zamani/clrs.pdf


Types of Algorithm



  • Simple recursive algorithms.
  • Backtracking algorithms.
  • Divide and conquer algorithms.
  • Dynamic programming algorithms.
  • Greedy algorithms.
  • Branch and bound algorithms.
  • Brute force algorithms.
  • Randomized algorithms.

No comments:

Post a Comment