The Gateway to Computer Science Excellence
For all GATE CSE Questions
Toggle navigation
GATE Overflow
Facebook Login
Google Login
or
Email or Username
Password
Remember
Login
Register

I forgot my password
All Activity
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous
Blogs
New Blog
Exams
First time here? Checkout the
FAQ
!
x
×
Close
Use the google search bar on side panel. It searches through all previous GATE/other questions. For hardcopy of previous year questions please see
here
Recent questions tagged shortestpath
0
votes
0
answers
1
Bellmann Ford Algorithm
Consider following with respect to directed graph where there can be positive,negative edge weights but no negative edge cycle. S1 : The Bellmann Ford algorithm will compute correctly the shortest path from source vertex S to every other Vertex. S2 : The Floyd Warshall ... pair of Verices. Which of Following statements are Correct ? A. Only S1 B. Only S2 C. Both D. None
asked
Oct 20
in
Algorithms
by
Na462
Loyal
(
6.9k
points)

36
views
algorithms
bellmanford
shortestpath
+1
vote
1
answer
2
How Bellman ford is dynamic programming?
asked
Aug 3
in
Algorithms
by
Sandy Sharma
Active
(
1k
points)

78
views
shortestpath
algorithms
graphalgorithms
bellmanford
+1
vote
0
answers
3
shortest path algo
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 depth V − 1.
asked
Jul 31
in
Algorithms
by
Rishav Kumar Singh
Active
(
4.4k
points)

50
views
graphalgorithms
shortestpath
0
votes
0
answers
4
Space Complexity of Dijkastra's algorithm
asked
Jul 5
in
Algorithms
by
Hardik Maheshwari
(
81
points)

155
views
dijkstrasalgorithm
shortestpath
spacecomplexity
algorithms
graphalgorithms
greedyalgorithm
0
votes
1
answer
5
Regarding the complexity of BellmanFord ?
asked
Jun 1
in
Algorithms
by
kilopavan
(
11
points)

59
views
bellmanford
shortestpath
0
votes
2
answers
6
#Algorithm Bellman Ford uses which algorithm design technique
asked
May 17
in
Algorithms
by
iarnav
Loyal
(
9k
points)

118
views
algorithms
bellmanford
shortestpath
graphalgorithms
selfdoubt
0
votes
0
answers
7
Equality of shortest path tree for given node as a root and
asked
Mar 24
in
Programming
by
GateAspirant999
Active
(
2.7k
points)

51
views
shortestpath
algorithms
graphalgorithms
+1
vote
0
answers
8
algorithm
asked
Dec 31, 2017
in
Algorithms
by
nikkey123
Active
(
1.5k
points)

52
views
algorithms
shortestpath
0
votes
1
answer
9
shortest path
Read the following statements below For all the below questions consider the graph as simple and has positive weight edges. (i) Let the cost of the shortest path between two nodes is S.If the weight of every edge in the graph is doubled then weight of the ... We can use Kruskal's algorithm to find Minimum spanning tree of a directed graph . How many of the above statements are true.
asked
Dec 13, 2017
in
Algorithms
by
VIKAS TIWARI
Junior
(
589
points)

167
views
algorithms
shortestpath
graphalgorithms
negativecycles
+5
votes
2
answers
10
Shortest path  bellman ford and floyd warshall
asked
Dec 10, 2017
in
Algorithms
by
Tuhin Dutta
Loyal
(
8.3k
points)

607
views
algorithms
shortestpath
bellmanford
negativecycles
+2
votes
2
answers
11
Dijkstra Algorithm
asked
Dec 5, 2017
in
Algorithms
by
Parshu gate
Active
(
5k
points)

310
views
dijkstrasalgorithm
shortestpath
algorithms
–1
vote
1
answer
12
Dijkstra algorithm
asked
Nov 29, 2017
in
Computer Networks
by
Parshu gate
Active
(
5k
points)

219
views
dijkstrasalgorithm
shortestpath
computernetworks
0
votes
0
answers
13
Open Shortest Path First
asked
Nov 28, 2017
in
Computer Networks
by
Parshu gate
Active
(
5k
points)

91
views
shortestpath
ospf
computernetworks
+2
votes
2
answers
14
Testbook Test
(1). Both BFS and DFS require $\Omega (N)$ storage for their operation. (2). If we double the weight of every edge in the Graph shortest path between any two vertices will not change. Which of the following is/are True ? (and in every question of shortest path we have to think about negative weight ?)
asked
Nov 7, 2017
in
Algorithms
by
Mr_22B
Active
(
1.1k
points)

270
views
shortestpath
algorithms
testbooktestseries
timecomplexity
+2
votes
1
answer
15
Bellman Ford
A pseudo code for Bellman Ford where each edge is relaxed k times where k>=1. Let the graph G be a simple connected and undirected graph . Let number of vertices be V, and number of edges be E . int i=1; for( i=1;i<=k;i++) { For each edge (u,v) ... . (ii) For proper running of the algorithm k can be equal to V1. (iii) For proper running of the algorithm k must be equal to E.
asked
Nov 6, 2017
in
Algorithms
by
shaurya vardhan
Active
(
2.2k
points)

135
views
algorithms
bellmanford
shortestpath
graphalgorithms
negativecycles
+1
vote
0
answers
16
Bellman Ford Algorithm (Edge sequence and convergence of algo.)
asked
Nov 3, 2017
in
Algorithms
by
Chhotu
Boss
(
11.4k
points)

212
views
algorithms
shortestpath
bellmanford
graphalgorithms
+3
votes
0
answers
17
Shortest Path
First Statement is true. But I don't know about second?
asked
Nov 2, 2017
in
Algorithms
by
Shivam Chauhan
Loyal
(
8.9k
points)

147
views
shortestpath
algorithms
+6
votes
0
answers
18
Dijkstra's
I know that Dijkstra's Doesn't work for Negative weight cycle because it form a loop, Does it also true that it may or may not work for negative weight edge(without cycle) ? If it is not working for a negative weight edge(without cycle) give some example to prove it.
asked
Oct 12, 2017
in
Algorithms
by
junaid ahmad
Loyal
(
9.1k
points)

341
views
dijkstrasalgorithm
shortestpath
0
votes
2
answers
19
dijkstra
If we run Dijkstra’s algorithm to find single source shortest path for the above edge weighted directed graph with ‘8’ as source. In what order do the nodes get included into the set of vertices for which the shortest path distances are finalized.
asked
Sep 14, 2017
in
Algorithms
by
Warlock lord
Active
(
3.4k
points)

169
views
dijkstrasalgorithm
algorithms
shortestpath
+1
vote
0
answers
20
How many simple path from u to v going through w?
asked
Sep 9, 2017
in
Graph Theory
by
Hemant Parihar
Boss
(
15.4k
points)

146
views
graphtheory
shortestpath
+1
vote
2
answers
21
Shortest Path Algorithms
For a given undirected weighted graph G with V number of vertices, if you want to find all pair shortest paths then which one of the following is true ? a) run dijkstra's shortest path algorithm only once. b) run dijkstra's shortest path algorithm V times. What if the given graph is directed ?
asked
Jun 26, 2017
in
Algorithms
by
Abhisek Saha
(
129
points)

219
views
algorithms
graphalgorithms
shortestpath
+1
vote
1
answer
22
Shortest path
I have 2 doubts below, each can be True or False? a) Dijkstra's Algo will terminate even if there is a ve edge or ve cycle. b) At the termination of Bellman Ford, even if graph has ve cycle, a correct shortest path is found for a vertex for which shortest path is welldefined.
asked
May 8, 2017
in
Algorithms
by
Shyam Singh 1
Active
(
1.5k
points)

293
views
shortestpath
+2
votes
3
answers
23
Bellman Ford Shortest path
Is the below statement correct: Bellman Ford finds all negative weight cycles in the graph. This is true or false?
asked
Apr 7, 2017
in
Algorithms
by
Bongbirdie
Junior
(
727
points)

376
views
algorithms
shortestpath
bellmanford
negativecycles
+2
votes
1
answer
24
Bellman Ford
If there is a negative edge cycle present in a graph, we all know that Bellman Ford has the capability to detect it. My doubt is that, even after the presence of a negative weighted cycle, will Bellman Ford Algorithm give the correct answer or it will simply say NO..shortest path cannot be computed!?
asked
Apr 7, 2017
in
Algorithms
by
Bongbirdie
Junior
(
727
points)

195
views
shortestpath
bellmanford
algorithms
+1
vote
1
answer
25
#Totally Confused# please tell Using Dijkstra Algorithm solve shortest path algorithm from A to D.
asked
Apr 6, 2017
in
Computer Networks
by
LavTheRawkstar
Active
(
5.2k
points)

184
views
algorithms
shortestpath
dijkstrasalgorithm
computernetworks
0
votes
0
answers
26
Calculate the shortest path using TSP Greedy Appraoch
asked
Mar 26, 2017
in
Algorithms
by
LavTheRawkstar
Active
(
5.2k
points)

98
views
algorithms
shortestpath
travel
salesman
0
votes
2
answers
27
Ace Test Series
asked
Jan 14, 2017
in
Algorithms
by
Vignesh Kamath
(
263
points)

202
views
algorithms
shortestpath
acetestseries
+3
votes
1
answer
28
shortest path
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
asked
Dec 6, 2016
in
Algorithms
by
Debashish Deka
Veteran
(
57.4k
points)

279
views
graphalgorithms
shortestpath
graphtheory
+1
vote
3
answers
29
Find shortest path
asked
Nov 27, 2016
in
Algorithms
by
Rakesh K
Active
(
1.9k
points)

612
views
graphalgorithms
shortestpath
algorithms
graphtheory
dynamicprogramming
multistagegraph
0
votes
2
answers
30
Bellmanford
asked
Nov 6, 2016
in
Algorithms
by
vaishali jhalani
Loyal
(
5.9k
points)

561
views
algorithms
shortestpath
Page:
1
2
next »
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
SCREENSHOT
Basic LaTeX guide
IIT Madras Phd
Databases GO Classroom
Happy Birthday Sir Arjun
Follow @csegate
Gatecse
Recent questions tagged shortestpath
Recent Blog Comments
Sir for final year student who have exam in...
I guess you meant while chasing :) Anyway those...
I'll write a post on how to best...
@Gaurav Go through all the previous yr questions,...
42,613
questions
48,608
answers
155,795
comments
63,786
users