...
Question 11399 – Data-Structures
April 5, 2024
Artificial-Intelligence
April 5, 2024
Question 11399 – Data-Structures
April 5, 2024
Artificial-Intelligence
April 5, 2024

UGC NET CS 2012 June-Paper2

Question 2
The post order traversal of a binary tree is DEBFCA. Find out the preorder traversal.
A
ABFCDE
B
ADBFEC
C
ABDECF
D
None of the above
Question 2 Explanation: 
Post order traversal tree is look like

Postorder: DEBFCA
Inorder: DBEAFC
Preorder: ABDECF
Correct Answer: C
Question 2 Explanation: 
Post order traversal tree is look like

Postorder: DEBFCA
Inorder: DBEAFC
Preorder: ABDECF

Leave a Reply

Your email address will not be published. Required fields are marked *