GATE CSE Graphs & Graph Algorithms – Data Structures Practice Test | Set 1

Questions 11-15 of 100

0% completed (0/100 answered)
Your score 0/100 0 answered
Correct 0 Incorrect 0 Unanswered 100 Accuracy 0%

Question 11

MCQ · Single Correct 1 mark

What is the time complexity of Breadth-First Search (BFS) on a graph represented using an Adjacency List with V vertices and E edges?

Answers for question 11

Question 12

MCQ · Single Correct 1 mark

Which data structure is primarily used to implement Breadth-First Search (BFS) iteratively?

Answers for question 12

Question 13

MCQ · Single Correct 1 mark

Which data structure is naturally used to implement Depth-First Search (DFS) iteratively or implicitly during recursion?

Answers for question 13

Question 14

MCQ · Single Correct 1 mark

What is the time complexity of Depth-First Search (DFS) on a graph represented by an Adjacency Matrix?

Answers for question 14

Question 15

MCQ · Single Correct 2 mark

In a Depth-First Search (DFS) forest of a directed graph, which type of edge points from a vertex to an ancestor in the DFS tree and indicates the presence of a cycle?

Answers for question 15
Scroll to Top