A greedy algorithm is similar to a dynamic programming algorithm, but the difference is that solutions to the subproblems do not have to be known at each stage; instead a "greedy" choice can be made of what looks best for the moment.
Both are using Optimal substructure , that is if an optimal solution to the problem contains optimal solutions to the sub-problems
well the static energy is the strength that resides in your body when you're not moving but dynamic energy is that the one occurs when you moving like swimming
The size or length of the list. For static, the size is a constant, while the size of a dynamic list may change over time. The 7 weekdays is static (in size/length, though the content is static as well), while the questions and answers at answers.com are 2 dynamic lists (the sizes are not constants, although just growing)
Dynamic programming enables you to develop sub solutions of a large program.the sub solutions are easier to maintain use and debug.And they possess overlapping also that means we can reuse them.these sub solutions are optimal solutions for the problem
in static programming properties, methods and object have to be declared first, while in dynamic programming they can be created at runtime. This is usually due to the fact that the dynamic programming language is an interpreted language.
the basic difference between them is that in greedy algorithm only one decision sequence is ever generated. where as in dynamic programming many decision sequences are generated.
A greedy algorithm is similar to a dynamic programming algorithm, but the difference is that solutions to the subproblems do not have to be known at each stage; instead a "greedy" choice can be made of what looks best for the moment.
Dynamic programming (DP) has been used to solve a wide range of optimizationproblemsWhen solving a problem using linear programming, specific inequalities involving the inputs are found and then an attempt is made to maximize (or minimize) some linear function of the inputs.
what is difference between dynamic and volumatic compressor
quick sort is a divide and conquer method , it is not dynamic programming
Static stays the same and dynamic is always different.
A static one cannot change, while a dynamic one can.
lollssxx
The general difference between a static IP and dynamic IP is that a static IP is reserved and does not change. A dynamic IP on the other hand changes each time one logs on.
See What_is_the_difference_between_dynamical_and_dynamic
Ronald A. Howard has written: 'Dynamic Probabilistic Systems, Volume II' 'Dynamic programming and Markov processes' -- subject(s): Dynamic programming, Markov processes