wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

The maximum number of nodes on level i of a binary tree is

A
2i1
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
3i1
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
i+1
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
2i+1
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is A 2i1

The maximum number of nodes in a binary tree of depth is 2 k − 1 , k ≥ 1

: if level is 3 then there will be maximum 7 nodes in the binary tree which is 2^3-1=8-1=7.

A binary tree is a tree data structure in which each node has at most two children, which are referred to as the left child and the right child.


933909_920204_ans_ffb13cd865184e988bf5f9387498f0a9.png

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Evaluation of Determinants
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon