2,647 views
3 votes
3 votes

Let P be a shortest path from some vertex s to some other vertex t in a directed graph. If the weight of each edge in the graph is increased by one, P will still be a shortest path from s to t. T/F

2 Answers

Best answer
12 votes
12 votes

Check the figure !!

selected by
0 votes
0 votes

Absolutely False.....

Think in the terms of number of edges involved in the path.....More the number of edges higher the increase in the path. So definitely  it is possible that some other path with less number of edges became the shortest path.

Related questions

0 votes
0 votes
0 answers
1
Vaishnavi01 asked Nov 19, 2018
302 views
0 votes
0 votes
1 answer
2
saumya mishra asked Nov 6, 2018
278 views
Can shortest path contains positive weight cycle???Please explain with examples.
1 votes
1 votes
0 answers
3
Rishav Kumar Singh asked Jul 30, 2018
773 views
TRUE / FALSE Explain Please..An undirected graph is said to be Hamiltonian if it has a cycle containing all the vertices. Any DFS tree on a Hamiltonian graph must have de...