Question
a.
Source – 1, 8 Sink – 7,4
b.
Source – 1 Sink – 8,4
c.
Source – 1, 8 Sink – 4
d.
None of the Mentioned
Posted under Data Structures and Algorithms
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. If a Graph Structured Stack contains {1,2,3,4} {1,5,3,4} {1,6,7,4} and {8,9,7,4}, what would be the source and sink vertices of the DAC?
Similar Questions
Discover Related MCQs
Q. Graph Structured Stack finds its application in _____________
View solution
Q. If in a DAG N sink vertices and M source vertices exists, then the number of possible stacks in the Graph Structured Stack representation would come out to be N*M.
View solution
Q. Space complexity for an adjacency list of an undirected graph having large values of V (vertices) and E (edges) is ___________
View solution
Q. For some sparse graph an adjacency list is more space efficient against an adjacency matrix.
View solution
Q. Time complexity to find if there is an edge between 2 particular vertices is _________
View solution
Q. For the given conditions, which of the following is in the correct order of increasing space requirement?
i) Undirected, no weight
ii) Directed, no weight
iii) Directed, weighted
iv) Undirected, weighted
View solution
Q. Space complexity for an adjacency list of an undirected graph having large values of V (vertices) and E (edges) is __________
View solution
Q. In which case adjacency list is preferred in front of an adjacency matrix?
View solution
Q. To create an adjacency list C++’s map container can be used.
View solution
Q. Given a plane graph, G having 2 connected component, having 6 vertices, 7 edges and 4 regions. What will be the number of connected components?
View solution
Q. Number of vertices with odd degrees in a graph having a eulerian walk is ________
View solution
Q. How many of the following statements are correct?
i) All cyclic graphs are complete graphs.
ii) All complete graphs are cyclic graphs.
iii) All paths are bipartite.
iv) All cyclic graphs are bipartite.
v) There are cyclic graphs which are complete.
View solution
Q. All paths and cyclic graphs are bipartite graphs.
View solution
Q. What is the number of vertices of degree 2 in a path graph having n vertices,here n>2.
View solution
Q. All trees with n vertices consists of n-1 edges.
View solution
Q. What would the time complexity to check if an undirected graph with V vertices and E edges is Bipartite or not given its adjacency matrix?
View solution
Q. Dijkstra’s Algorithm will work for both negative and positive weights?
View solution
Q. A graph having an edge from each vertex to every other vertex is called a ___________
View solution
Q. What is the number of unlabeled simple directed graph that can be made with 1 or 2 vertices?
View solution
Q. Floyd Warshall Algorithm used to solve the shortest path problem has a time complexity of __________
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Data Structures and Algorithms? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!