Total Questions : 30
Expected Time : 30 Minutes

1. How does Dijkstra's algorithm handle unreachable vertices?

2. In Dijkstra's algorithm, how are ties broken when multiple paths have the same minimum distance?

3. In Dijkstra's algorithm, what is the role of the 'visited' set?

4. What is the primary advantage of using Dijkstra's algorithm over other pathfinding algorithms in certain scenarios?

5. What is the significance of the 'parent' attribute in the context of Dijkstra's algorithm?

6. How does the presence of parallel edges impact Dijkstra's algorithm?

7. Which algorithm is often compared to Dijkstra's algorithm for finding the shortest path?

8. How does Dijkstra's algorithm handle negative edge weights in a graph?

9. What is the significance of the 'd' and 'π' arrays in Dijkstra's algorithm?

10. What modification is needed in Dijkstra's algorithm to handle graphs with negative edge weights?

11. How does Dijkstra's algorithm handle graphs with disconnected components?

12. How does the choice of data structure for the priority queue affect the time complexity of Dijkstra's algorithm?

13. In the context of Dijkstra's algorithm, what is the purpose of the 'marked' attribute for vertices?

14. What is the purpose of the 'source' parameter in Dijkstra's algorithm?

15. What is the significance of the term 'single-source' in the context of Dijkstra's algorithm?

16. What is the primary difference between Dijkstra's algorithm and A* algorithm?

17. What is the primary advantage of using a Fibonacci Heap in Dijkstra's algorithm?

18. What is the key concept behind Dijkstra's algorithm for finding the shortest path?

19. What is the time complexity of Dijkstra's algorithm with an adjacency matrix representation?

20. What is the impact of using a priority queue with insufficient priority updates in Dijkstra's algorithm?

21. Which algorithm is an alternative to Dijkstra's algorithm for graphs with negative edge weights?

22. How does Dijkstra's algorithm handle graphs with multiple shortest paths between two vertices?

23. In a weighted graph, what does the term 'weight' typically represent in the context of Dijkstra's algorithm?

24. What is the main drawback of using Dijkstra's algorithm in a dynamic graph that undergoes frequent edge weight updates?

25. How does Dijkstra's algorithm behave when all edge weights are equal?

26. How does Dijkstra's algorithm behave when there is a negative cycle in the graph?

27. What condition must be satisfied for Dijkstra's algorithm to guarantee the correct shortest paths?

28. What is the key challenge in implementing Dijkstra's algorithm in a distributed computing environment?

29. What is the primary purpose of Dijkstra's algorithm?

30. How does Dijkstra's algorithm handle graphs with unconnected vertices?