Email : info@mdjakarianur.com

|

Contact : +88 01840-713661 (WhatsApp)

Dynamic Programming

Dynamic Programming


Dynamic Programming is a general algorithm design technique for solving problems defined by recurrences with overlapping subproblems.

  • Invented by American mathematician Richard Bellman in the 1950s to solve optimization problems and later assimilated by CS.
  • “Programming” here means “planning.”
  • Main idea:
    • Set up a recurrence relating a solution to a larger instance to solutions of some smaller instances.
    • Solve smaller instances once.
    • Record solutions in a table.
    • Extract solution to the initial instance from that table.

 

Dynamic programming is a very powerful, general tool for solving optimization problems.

Once understood it is relatively easy to apply, but many people have trouble understanding it.

 

 

 

2 responses to “Dynamic Programming”

  1. Code of your destiny Avatar

    I am extremely inspired together with your writing skills and also with the structure on your blog. Is this a paid subject or did you modify it yourself? Either way keep up the excellent quality writing, it’s uncommon to see a great weblog like this one today!

  2. Leonardo AI x Midjourney Avatar

    I’m extremely inspired along with your writing talents as well as with the format for
    your weblog. Is that this a paid theme or did you modify it your self?
    Either way stay up the excellent quality writing, it’s uncommon to peer a great blog like this
    one these days. Snipfeed!

Leave a Reply to Leonardo AI x Midjourney Cancel reply

Your email address will not be published. Required fields are marked *