The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+14 votes
706 views
Draw the binary tree with node labels $\text{a, b, c, d, e, f and g}$ for which the inorder and postorder traversals result in the following sequences:

Inorder: $\text{a f b c d g e}$

Postorder: $\text{a f c g e d b}$
in DS by Veteran (52.1k points) | 706 views

1 Answer

+18 votes
Best answer

The binary tree will be

 

by Loyal (5.6k points)
edited by

Related questions

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,807 questions
54,729 answers
189,317 comments
79,910 users