Answer:
The correct answer to the following question will be Option A (d e b f g c a).
Step-by-step explanation:
In the given question the binary tree is missing, so the question is incomplete. The complete question will be:
a
/ \
b c
/ \ / \
d e f g
Now coming to the answer:
In this tree we are applying the post order algorithm for traversing the tree is given below:
Step 1: Go to the left-subtree.
Step 2: Go to the right-subtree.
Step 3: Print the data.
The root 'a' is follow the algorithm Post order After applying the algorithm it comes to the node 'b', 'b' is also follow the Post order algorithm then it comes to 'd', after applying the algorithm Post order it prints 'd'. Similarly all the node follow the same algorithm .