https://www.google.com/contributor/welcome/?utm_source=publisher&utm_medium=banner&utm_campaign=2376261057261409

Search This Blog

Search with our Site

Custom Search

Monday, July 9, 2012

Dynamic Programming is always preferable over greedy approach " Support or contradict this statement with solid arguments.



2 comments:

  1. i hope you find valuable information for your subject from these videos. Please listen these lectures for your GDB solution. Copy case se bachna mushkil kam hai.

    ReplyDelete
  2. It is true.
    Although these both approaches be use to solve Problems optimally.
    However, in the same time there are some reasons that make Dynamic programming preferable over greedy approach. For Example, e.g. dynamic programming solve troubles by breaking down in smaller sub problems and store the results of intermediate sub problems for future reference, which absolutely comes always in a solution and in optimal one.
    For some problems, greedy approach always gets optimum. For others, greedy finds good, but not always best. For still others, greedy approach can do very poorly.

    ReplyDelete