...
UGC NET CS 2014 Dec-Paper-2
October 12, 2023
Algorithms
October 12, 2023
UGC NET CS 2014 Dec-Paper-2
October 12, 2023
Algorithms
October 12, 2023

Algorithms

Question 2

Which one of the following binary trees has its inorder and preorder traversals as BCAD  and ABCD, respectively?

A
B
C
D
Question 2 Explanation: 
Inorder traversal is,
Left root right.
Preorder traversal is,
Root left right.
Correct Answer: D
Question 2 Explanation: 
Inorder traversal is,
Left root right.
Preorder traversal is,
Root left right.
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!