Dynamic Programming Tutorial - Basics, Backward Recursion, and Principle of Optimality

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 16

  • @ahmadov01
    @ahmadov01 Год назад

    Explainism of Shortest Path problem was wonderfull.

  • @HXYZZZ
    @HXYZZZ 3 года назад +2

    Great explanation of the concept. Thank you.

  • @jessalimpiada7619
    @jessalimpiada7619 10 месяцев назад

    great tutorial sir! thanks. 😊

  • @abbasking321
    @abbasking321 2 года назад +3

    Sir also make a video on forward recursion approach

  • @aishwaryashrestha798
    @aishwaryashrestha798 3 года назад +3

    Hi what are the tools you have used to create this vedio with shortest path ?

  • @muramd29
    @muramd29 4 года назад +4

    Is there any software that can does backward recursions of dynamic programming sir?

  • @srikantkumargouda100
    @srikantkumargouda100 2 года назад

    Sir the ans is 21 is correct?
    A->2->4->B I.e 2+4+15=21

  • @Ajay-ju2ig
    @Ajay-ju2ig 4 года назад +1

    What is difference between rod cutting and 0/1 knapsack problem?

    • @insidecode
      @insidecode 3 года назад

      In rod cutting, we can take the same length more than once, which is not the case with the 0/1 knapsack problem, we can't take the same elements more than once

  • @ashfaqurrahmanshanto9487
    @ashfaqurrahmanshanto9487 10 месяцев назад

    Give tutorial or solution source of try this problem

  • @raginigupta2319
    @raginigupta2319 2 года назад

    what is the answer of the given problem . is it 11

  • @JahanshahiHadi
    @JahanshahiHadi 2 года назад

    No forward pass recursion

  • @inversemetric
    @inversemetric 4 года назад

    Is this greedy, but going from the end to the beginning?

    • @2334463
      @2334463  4 года назад

      Not exactly. I had a little example with the greedy algorithm at the beginning of the video and argued it is not always optimal. The Backward Pass/Recursion is always optimal. They seem like they are the same but not really since for BR, we need to solve the nested value functions of each node. 😊

    • @aritraghosh3317
      @aritraghosh3317 3 года назад +8

      A-2-3-5-7-B is the shortest path and it’s weight would be 19. Is that correct?