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

A strictly binary tree with n leaves always contains ................nodes.

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

The correct option is A 2n - 1

A strictly binary tree with n leaves contains 2n-1 nodes. If n (1): a strictly binary tree with 1 leaf contains 2(1)-1 = 1 node.

A binary tree consists of a finite set of nodes that is either empty, or consists of one specially designated node called the root of the binary tree, and the elements of two disjoint binary trees called the left subtree and right subtree of the root.


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