Consider a perfect binary tree (a binary tree in which all the nodes are at…
Consider a perfect binary tree (a binary tree in which all the nodes are at same level & each node is having either no children or two children) of height (Height: length of the longest path from root to any leaf) n where root is at level 0, then find the number of nodes in the tree.
- A.
2n+1 -1
- B.
2n
- C.
n-1
- D.
n
Attempted by 636 students.
Sign up free to check your answer
Sign up freeLoading lesson…

