Programming Interview: Shortest Path in multistage graph using dynamic programming (Part 2) Example

Поділитися
Вставка
  • Опубліковано 7 лис 2024

КОМЕНТАРІ • 30

  • @abhishekratnawat4708
    @abhishekratnawat4708 7 років тому +1

    Best video on UA-cam to understand multistage graph by D.P.

  • @richamahajan4317
    @richamahajan4317 10 років тому +2

    this video is very good..now i think i can score good marks in exams,,without attending college lectures..thanks sir

    • @saurabhschool
      @saurabhschool  10 років тому

      You are welcome Richa, I am happy that my lectures are helping u in scoring marks without attending lectures :)

    • @richamahajan4317
      @richamahajan4317 10 років тому

      saurabhschool your lctrs r soo good..even btr dan our clg teachers..keep uploading..thnks

    • @saurabhschool
      @saurabhschool  10 років тому

      richa mahajan
      Thanks a lot Richa for such a nice comment!

    • @hninpannphyu8567
      @hninpannphyu8567 9 років тому +1

      +saurabhschool where can i get a Matlab code for multistage graph dynamic programming ?

    • @saurabhschool
      @saurabhschool  9 років тому

      +Hnin Pann Phyu Hi Hnin, I don not have a matlab code, but you can search on the Internet or can write one

  • @joy7881
    @joy7881 10 років тому +1

    Great video sir !!

  • @pankaj267
    @pankaj267 10 років тому

    i was able to study four units in 2 days.a month ago felt like an impossible task.thanks a lot for making these videos.i am thinking of scoring rather than passing now

    • @saurabhschool
      @saurabhschool  10 років тому

      Thats very good news. All the best for your exams. I am sure you will do well in your exams!

  • @VC-kj9yx
    @VC-kj9yx 8 років тому +1

    why starting from 3 when source is 1 and also there is no edge between 3 to 8 then how are you calculating cost(3,8)?

  • @vaibhavpanchal7178
    @vaibhavpanchal7178 8 років тому +1

    very well explained!!!!!!!!!! sir

  • @sailendrapavan3475
    @sailendrapavan3475 9 років тому

    Great vedio sir.....thankuu

  • @NilayJainhi
    @NilayJainhi 8 років тому

    +saurabhschool thanks a lot....this video helps a lot.....i like your way of teaching i.e slow and in simple manner....thank you...a big like(y)

  • @Wonderwomen-7
    @Wonderwomen-7 8 років тому

    sir why u taken initial computing stage from 3

  • @michaelsuryawijaya3337
    @michaelsuryawijaya3337 10 років тому

    Thank you so much sir, the lectures are great :D

  • @sarashtisingh4728
    @sarashtisingh4728 7 років тому

    great video

  • @mandarjoshi6814
    @mandarjoshi6814 8 років тому

    nicely explained thanks:D

  • @vinayrachapalli6708
    @vinayrachapalli6708 8 років тому

    Dijkstra's algorithm(Greedy) is suitable for this problem, but you said Greedy is not suitable for this problem.

    • @TonyTongWA
      @TonyTongWA 7 років тому

      I don't think it's suitable, for example between V1 to all the V2 nodes, if I did dijkstra's I would only go to node 5 (distance 2) being greedy.
      However, it turns out that the shortest path from S to T goes through node 2/ 3 for a total distance of 16 for both.
      In short I would say dijkstra's would give the shortest path between nodes, but the question is whether that path is the shortest path (out of all the possible permutations) to begin with.

  • @raghavchadha9133
    @raghavchadha9133 8 років тому

    cost(2,2) instead of c(2,2)????

  • @Null_pointer_exceptn
    @Null_pointer_exceptn 8 років тому

    Just wondering why cant we use dijkatra shortest path here.

    • @prabhjotschadha1153
      @prabhjotschadha1153 8 років тому

      Because it is multigraph and it can't be solved by Dijkstra method.

    • @TonyTongWA
      @TonyTongWA 7 років тому

      See if my try at the explanation helps!

  • @ITandTravel
    @ITandTravel 9 років тому

    thanks

  • @dineshdeshmukh9184
    @dineshdeshmukh9184 10 років тому

    thanqq

  • @avinashsingh-rp9ew
    @avinashsingh-rp9ew 7 років тому

    sir, all your lecture r full of knoledge.........
    but u r very confusing.............. frequently changing pages..........writing and reading at a same time............
    very unplanned and confusing.........
    pls try to update if possible