Choosing appropriate programming technique
It is very important to choose a proper technique to solve a problem in any engineering. Since I am a Computer Engineer I will be talking stuff that is more relevant to my field. Following is a list of techniques (that I think) one should to solve a type of programming problem
1) Dynamic Programming : Use to solve a problem, when a problem itself can be represent as (overlapping) sub problems of the same type as the original problem. Example: Generating a Fibonacci series, finding long common subsequence, recursion etc.
2) Genetic Programming : For optimization problems. Example find variables that min/max a particular function. One could also use greedy programming to solve optimization problem.
3) (Hidden) Markov Models : For pattern matching, problem related to stochastic processes and queuing thoery
0 Comments:
Post a Comment
<< Home