Question DSA-TREE-0068
HardIn a perfect binary tree, how many nodes are at depth d (the root has depth 0)?
- A.
d
- B.
d²
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Trees question
In a perfect binary tree, how many nodes are at depth d (the root has depth 0)?
d
d²
Sign up free to see the answer and a step-by-step explanation.
2^d
2d