A complete n-ary tree is one in which every node has 0 or n sons. If x is the number of internal nodes of a complete n-ary tree, the number of leaves in it is given by
- Ax(n-1)+1
- Bxn-1
- Cxn+1
- Dx(n+1)
Solve it on GATE DA practice →More Basic Data Structures problems