ExamVeda
Login
Home
11
Which algorithm is used to find the minimum spanning tree in a graph?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
12
In a weighted graph, what does a negative weight cycle indicate for shortest path algorithms?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
13
What is the time complexity of the BFS algorithm for a graph represented using an adjacency list?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
14
How does the Floyd-Warshall algorithm compute shortest paths in a graph?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
15
What is the primary purpose of using a priority queue in graph algorithms like Dijkstra's?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
16
Which of the following algorithms is used to detect cycles in a directed graph?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
17
What is a topological sort in a directed graph?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
18
Which data structure is commonly used to implement the BFS algorithm?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
19
What is the time complexity of finding all reachable nodes from a given node in an undirected graph using DFS?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
20
In which of the following scenarios is Prim's algorithm more efficient than Kruskal's algorithm?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board