Computer Science · Data Structures and Algorithms
Consider an undirected connected graph with 6 vertices labeled {a, b, c, f, g, h}. The following standard sequences are proposed as valid Depth First Search (DFS) traversals starting from vertex 'a': (A) abcghf (B) abfchg (C) abfhgc (D) afghbc Assuming a standard structural adjacency context that can validate individual paths, which combination of sequences can collectively represent valid DFS paths?
- 1(A), (C) and (D) only✓
- 2(B), (C) and (D) only
- 3(A), (B), (C) and (D)
- 4(A), (B) and (D) only
Correct answer
(A), (C) and (D) only
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Data Structures and Algorithms?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Data Structures and Algorithms