12.
In a weighted graph, what does a negative weight cycle indicate for shortest path algorithms?

14.
How does the Floyd-Warshall algorithm compute shortest paths in a graph?

15.
What is the primary purpose of using a priority queue in graph algorithms like Dijkstra's?

17.
What is a topological sort in a directed graph?

20.
In which of the following scenarios is Prim's algorithm more efficient than Kruskal's algorithm?

Read More Section(Graphs)

Each Section contains maximum 100 MCQs question on Graphs. To get more questions visit other sections.