2 votes 2 votes Consider the multistage graph with 6 stages then what is the minimum cost from Source node (A) to Destination node (N) using Greedy Method ______ Algorithms algorithms mst-greedy + – meghna asked Oct 3, 2018 meghna 515 views answer comment Share Follow See all 5 Comments See all 5 5 Comments reply Show 2 previous comments Deepanshu commented Oct 4, 2018 reply Follow Share hmm good question 0 votes 0 votes meghna commented Oct 4, 2018 reply Follow Share I am confused with Dijkstra's algo here, when we have selected A-E=1, then we have two possibilities for going forward either A-B or E-H since both gives 2 , then why only E-H is chosen? How are we working here in case a specific destination is given??? 0 votes 0 votes Nishikant commented Oct 5, 2018 reply Follow Share We use Dijkstra Algorithm to find out the single source shortest path from source to each and every other node . But when we are talking about multistage graph, then it simply means the shortest distance from source to the destination and while doing that we may get shortest distance to every other node or may not. and regarding what you said,if you have reached to E and you are standing there, then using dijkstra the weight of E is 1 and weight of B,C,D are 2,4,3 so as of dijkstra,we will definitely choose the node with lowest weight node i.e E and then we will relax the outgoing edge of the E node. 0 votes 0 votes Please log in or register to add a comment.