Which of the following sequences denotes the post order traversal sequence of the below tree?

View worked solution
Answer: C
The binary tree represented in the image has the following structure:
- Root:
- Left child:
- Left child: (which has a left child )
- Right child:
- Right child: (which has a left child )
- Left child:
To find the post-order traversal (Left Right Root):
- Left Subtree of (rooted at ):
- Left subtree of (rooted at ): Visit left child , then root
g, c - Right child of : Visit
d - Visit root
b - Combined left subtree sequence:
g, c, d, b
- Left subtree of (rooted at ): Visit left child , then root
- Right Subtree of (rooted at ):
- Left child of : Visit
f - Visit root
e - Combined right subtree sequence:
f, e
- Left child of : Visit
- Root node: Visit
a
Combining these steps, the complete post-order traversal sequence is: .
Free practice · Your answers on this page are not saved.
