Graph Algorithms - BFS, DFS, shortest paths, maximum flow, minimum spanning trees - Online Test
30:00
1. Which graph traversal algorithm explores as far as possible along each branch before backtracking?
2. What data structure is typically used to implement Breadth-First Search (BFS)?
3. In Depth-First Search (DFS), what is the maximum depth of the recursion stack in a graph with V vertices and E edges?
4. Which algorithm finds the shortest path between two nodes in a weighted graph with non-negative edge weights?
5. Dijkstra's algorithm guarantees finding the shortest path if all edge weights are:
6. What is the time complexity of Dijkstra's algorithm using a binary heap for a graph with V vertices and E edges?
7. The Bellman-Ford algorithm can find the shortest paths in a graph that contains:
8. What is the primary application of the Ford-Fulkerson method in graph algorithms?
9. Which theorem states that the maximum flow in a network is equal to the capacity of a minimum cut?
10. A Minimum Spanning Tree (MST) of a connected, undirected graph is a subset of the edges that:
Test Results
0/0