Recent questions tagged shortest-path

1 1 vote
1 1 answer
115
115 views
Consider the following statement:For every connected weighted graph $G$, there exists some vertex $v$ such that a shortest path tree rooted at $v$ is identical to a minim...
2 2 votes
1 1 answer
152
152 views
0 0 votes
1 1 answer
123
123 views
Match the LIST-I with LIST-IILIST-ILIST-IIA.Dynamic programmingI.Floyd Warshall Shortest pathB.GreedyII.Huffman codingC.Back trackingIII.Hamiltonian cycle problemD.Branch...
9 9 votes
2 2 answers
1.9k
1.9k views
Let $G$ be a weighted directed acyclic graph with $m$ edges and $n$ vertices. Given $G$ and a source vertex $s$ in $G$, which one of the following options gives the worst...
2 2 votes
1 1 answer
622
622 views
If there is no path from $\delta$ to a of length at most k , then $d_k(u)=\infty$Statement 1: For every $u \geq 0$ and $u \in V, d_{k+1}(u) \leq d_k(u)$.Statement 2: For ...
0 0 votes
1 1 answer
611
611 views
Match List - I with List - II.$\begin{array}{|ll|ll|} \hline & \textbf{List - I} & & \textbf{List - II} \\ \hline (A) & \text{Dijkstra's Algorithms} & (I) & \text{Find th...
0 0 votes
1 1 answer
336
336 views
The snakes and ladders game is played on a board with $100$ squares, numbered $1$ to $100.$ There are some ladders and some snakes. Each ladder stands on some square and ...
0 0 votes
1 1 answer
239
239 views
The snakes and ladders game is played on a board with $100$ squares, numbered $1$ to $100.$ There are some ladders and some snakes. Each ladder stands on some square and ...
0 0 votes
1 1 answer
189
189 views
The snakes and ladders game is played on a board with $100$ squares, numbered $1$ to $100.$ There are some ladders and some snakes. Each ladder stands on some square and ...
1 1 vote
0 0 answers
377
377 views
Let $G=(V, E)$ be a weighted, undirected and connected graph, with weight $1 \leq$ $\mathrm{wt}_{G}(e) \leq 99$ for edge $e \in E$. Suppose $G^{\prime}$ is the graph with...
0 0 votes
1 1 answer
258
258 views
Consider a directed graph $G$ with a source vertex $s, a$ destination $t$, and nonnegative edge lengths. Under what conditions is the shortest $s-t$ path guaranteed to be...