aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Computer Science (GATE Exam) 2007 - Previous Question Paper Solution
  • The height of a binary tree is the maximum number of edge...
Multiple choice

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:

  1. 2h - 1

  2. 2h-1 - 1

  3. 2h+1 - 1

  4. 2h+1

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Keep practicing — related questions

  • In a binary tree, an edge is the one which joins two nodes of two adjacent levels. Maximum possible edges o...
  • The height of a tree is defined as the number of edges on the longest path in the tree. The function shown ...
  • For height H and root at level 0, how many number of nodes will be there in a binary tree?
  • For height H and root at level 1, how many number of nodes will be there in a binary tree?
  • Which of the following statements is incorrect about a complete binary tree with n nodes and height h?
  • A weight-balanced tree is a binary tree in which for each node, the number of nodes in the let sub tree is ...
  • Let the depth of a root = 1, what would be the maximum number of nodes in a binary tree of depth 5 ?
  • The following numbers are inserted into an empty binary search tree in the given order: 10, 1, 3, 5, 15, 12...
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy