• recategorized by
766 views
0 0 votes
Consider a binary tree for every node | P - Q | <= 2. P represents number of nodes in left subtree of S and Q represents number of nodes in right subtree of S for h > 0. The minimum number of nodes present in such tree of height h = 4 ( Root at 0 level)

Please log in or register to answer this question.

Position:
Show:

Related questions

1 1 vote
1 1 answer
494
494 views
2 2 votes
3 3 answers
1.6k
1.6k views
1 1 vote
2 2 answers
2.1k
2.1k views
CHïntän ÞäTël asked Dec 10, 2018
2,051 views
four vertices {A,B,C,D} is given which has only vertex D as a leaf total number of binary tree are possible when every binary tree has four node!
0 0 votes
0 0 answers
745
745 views
sunaina rawat asked Nov 7, 2017
745 views
Consider programint foo(struct node *tree){if(tree==0)return 0;int lh=ht(tree->left);int rh=ht(tree->right);int ld=foo(tree->left);int rd=foo(tree->right);return max(lh+r...