Recent questions tagged graph-algorithms

0 votes
0 answers
96
In worst case, for each "n" we have to check every "n then how O(n) ?
0 votes
0 answers
97
0 votes
1 answer
98
Are the "n!" ways maximum possible BFS sequences ? ( Indirectly, for any given vertices is it obvious that complete graph will give max BFS sequences ? )
0 votes
0 answers
99
Dijkstra Algo terminates and produce wrong result when graph contain negative wt CycleWhat about Belman Ford??and FloydWarshall???
0 votes
0 answers
100
Dijktra Algo selects shortest path having maximum number of shortest edges, for non adjacent nodes. Is it true? Please justify..
0 votes
0 answers
101
0 votes
1 answer
103
HOW CAN WE GET A CROSS EDGE WHILE PERFORMING A BFS ON UNDIRECTED AND DIRECTED GRAPH CAN ANYONE SHOW WITH AN EXAMPLE?
0 votes
0 answers
105
2 votes
0 answers
106
0 votes
0 answers
112
0 votes
1 answer
113
Can shortest path contains positive weight cycle???Please explain with examples.
0 votes
1 answer
114
What is the time complexity of Prim algorithm without using min heap?
5 votes
1 answer
117
Also let me know the approach to find back edges, cross edges, forward edges,How to solve these questions
0 votes
0 answers
118
Consider the following graph:The number of strongly connected components of the graph are ________.