The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+1 vote
399 views
The tree given is as follows:
 
          30
         /  \
        12   45
         \     
         18     
 
Insert: 10,15,40,20,22
Which one of the following is the postorder traversal of the resultant tree?
(A) 10,15,13,20,22,30,45,40,18
(B) 10,15,12,20,30,22,45,40,18
(C) 10,15,12,20,30,22,45,18,40
(D) None of these
in DS by Active (2.4k points) | 399 views

1 Answer

+2 votes
Best answer

Answer is b

page 1 :

page 2 :

by Loyal (9.6k points)
selected by
0
@manojk verify this please
+1
correct b
0
Can you please post clear picture of 2nd page?

Related questions

+3 votes
0 answers
4
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
49,845 questions
54,785 answers
189,430 comments
80,451 users