Data Structures · Previous year questions
Graph Representations and Disjoint Sets
2 questions from GATE CS 2016 to 2017, newest first.
Questions
GATE CS 2017 Set 2, Q.15 (CS Q.15)
The Breadth First Search (BFS) algorithm has been implemented using the queue data structure. Which one of the following is a possible order of visiting the nodes in the graph b...
Graph Traversals, Topological Sort and Connectivity · Graph Representations and Disjoint Sets
GATE CS 2016 Set 2, Q.51 (CS Q.41)
In an adjacency list representation of an undirected simple graph , each edge has two adjacency list entries: in the adjacency list of , and ...
Graph Representations and Disjoint Sets · Asymptotic Analysis and Time/Space Complexity