The Gateway to Computer Science Excellence
+1 vote
417 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.5k points) | 417 views

1 Answer

+2 votes
Best answer

Answer is b

page 1 :

page 2 :

by Loyal (9.8k points)
selected by
0
@manojk verify this please
+1
correct b
0
Can you please post clear picture of 2nd page?
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
50,645 questions
56,550 answers
195,702 comments
101,556 users