recategorized
9,573 views

2 Answers

0 votes
0 votes

Option B

In a complete n-ary tree, $L = (n-1) * I + 1$   where L = No. of leaves, I = No. of Internel nodes

Here n = 5, I = 8

Therefore,  L = (5-1) * 8 + 1 = 4 * 8 + 1 = 33

 

0 votes
0 votes
The question should ask about total no. Of leaf nodes which is 33

No. Of leaf nodes=(m-1)*I+1

                              =(5-1)*8+1

                             =33

Related questions

1 votes
1 votes
3 answers
1
Pooja Khatri asked Jul 13, 2018
3,427 views
Consider the array A=<4, 1, 3, 2, 16, 9, 10, 14, 8, 7>. After building heap from the array A, the depth of the heap and the right child of max-heap are ______ and _____ r...
0 votes
0 votes
2 answers
2
Pooja Khatri asked Jul 13, 2018
8,953 views
A hash function h defined h(key)=key mod 7, with linear probing, is used to insert the keys 44, 45, 79, 55, 91, 18, 63 into a table indexed from 0 to 6. What will be the ...
0 votes
0 votes
2 answers
3
Pooja Khatri asked Jul 13, 2018
2,603 views
Which of the following algorithms solves the single-source shortest paths?Prim's algorithmFloys-Warshall algorithmJohnson's algorithmDijkstra's algorithm
0 votes
0 votes
8 answers
4