...
Question 5001 – Data-Structures
November 23, 2023
Question 5219 – Data-Structures
November 23, 2023
Question 5001 – Data-Structures
November 23, 2023
Question 5219 – Data-Structures
November 23, 2023

Question 5149 – Data-Structures

A 5-ary tree is tree in which every internal node has exactly 5 children. The number of left nodes in such a tree with 8 internal nodes will be :

Correct Answer: D

Question 460 Explanation: 
L = I(n-1)+ 1
Where, L= Number of leaf nodes
n= N-ary tree
I = Number of intermediate nodes
Now, L =8(5-1)+1
L =8(4)+1
L =33
Total Number of nodes in a tree = Number of Intermediate nodes+Number of Leaf nodes
Total Number of nodes in a tree = 8+33
Total Number of nodes in a tree = 41
A
30
B
33
C
45
D
None of the above
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!