...
Question 8860 – Aptitude
April 30, 2024
Question 5411 – Data-Communication
April 30, 2024
Question 8860 – Aptitude
April 30, 2024
Question 5411 – Data-Communication
April 30, 2024

GATE 2003

Question 21

Consider the following graph

Among the following sequences:

(I) a b e g h f    (II) a b f e h g    (III) a b f h g e    (IV) a f g h b e 

Which are depth first traversals of the above graph?

A
I, II and IV only
B
I and IV only
C
II, III and IV only
D
I, III and IV only
Question 21 Explanation: 
I) a → b → e → g → h → f (✔️)
II) a → b → f → e (✖️)
III) a → b → f → h → g → e (✔️)
IV) a → f → g → h → b → e (✔️)
Correct Answer: D
Question 21 Explanation: 
I) a → b → e → g → h → f (✔️)
II) a → b → f → e (✖️)
III) a → b → f → h → g → e (✔️)
IV) a → f → g → h → b → e (✔️)
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x