The Gateway to Computer Science Excellence
+2 votes
For a binary tree T,

preorder traversal yields: 11,8,6,4,7,10,19,43,31,29,37,49    and
inorder traversal yields: 4,6,7,8,10,11,19,29,31,37,43,49

The height of the T is ________________.
in DS by Active | 510 views

3 Answers

+1 vote
Best answer


by Boss
selected by
+2 votes

4 will be answer

by Boss
edited by
0 votes
Height of the tree is 4
by Active

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
52,217 questions
59,951 answers
118,172 users