ExamVeda
Login
Home
1
Which algorithm is used to find the shortest path from a source node to all other nodes in a graph with non-negative weights?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
2
What is the time complexity of Breadth-First Search (BFS) on a graph with V vertices and E edges?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
3
In Depth-First Search (DFS), what is the order of visiting nodes?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
4
Which algorithm can be used to detect negative weight cycles in a graph?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
5
What is the primary difference between BFS and DFS?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
6
What data structure is commonly used to implement BFS?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
7
Which of the following is not a property of Dijkstra's algorithm?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
8
What type of graph traversal does Depth-First Search (DFS) utilize?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
9
In which of the following scenarios is the Bellman-Ford algorithm preferred over Dijkstra's algorithm?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
10
What is the time complexity of Dijkstra's algorithm using a binary heap priority queue?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board