Open In App
Related Articles

GATE | GATE-CS-2007 | Question 12

Improve Article
Improve
Save Article
Save
Like Article
Like

The height of a binary tree is the maximum number of edges in any root to leaf path. The maximum number of nodes in a binary tree of height h is:
(A) 2h−1
(B) 2h−1 -1
(C) 2h+1-1
(D) 2h+1


Answer: (C)

Explanation: See Question 1 https://www.geeksforgeeks.org/data-structures-and-algorithms-set-10/

Quiz of this Question

Level Up Your GATE Prep!
Embark on a transformative journey towards GATE success by choosing Data Science & AI as your second paper choice with our specialized course. If you find yourself lost in the vast landscape of the GATE syllabus, our program is the compass you need.

Last Updated : 28 Jun, 2021
Like Article
Save Article
Previous
Next
Similar Reads