Question:

The post-order traversal of a binary tree is F A E K C D H G B. What is its root?

Show Hint

In post-order traversal, the root of the binary tree is always the last node visited.
Updated On: May 3, 2025
  • A
  • F
  • C
  • B
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

In post-order traversal, the root is the last element visited. Here, the last element in the traversal is B, making it the root.
Thus, the root of the tree is \( B \).
Was this answer helpful?
0
0

Top Questions on Trees

View More Questions