First time here? Checkout the FAQ!
+7 votes
State whether the following statements are TRUE or FALSE:

If the number of leaves in a tree is not a power of 2, then the tree is not a binary tree.
asked in DS by Veteran (39.8k points) 260 1321 1945
retagged by | 150 views

2 Answers

+10 votes
Best answer

Condition for binary tree is atmost two immediate child for every internal node 

No it is not the condition for binary tree.

answered by Veteran (53k points) 21 72 327
selected by
+1 vote

binary tree is made of nodes, where each node contains a "left" reference, a "right" reference, and a data element. The topmost node in thetree is called the root. Every node (excluding a root) in a tree is connected by a directed edge from exactly one other node. This node is called a parent.


There is no such condition so statement is false

answered by Boss (6.1k points) 3 8 16

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
Top Users Oct 2017
  1. Arjun

    23678 Points

  2. Bikram

    17278 Points

  3. Habibkhan

    8962 Points

  4. srestha

    6460 Points

  5. Debashish Deka

    5478 Points

  6. jothee

    5128 Points

  7. Sachin Mittal 1

    4892 Points

  8. joshi_nitish

    4486 Points

  9. sushmita

    4052 Points

  10. Rishi yadav

    3974 Points

Recent Badges

Popular Question makhdoom ghaya
Great Question makhdoom ghaya
Famous Question makhdoom ghaya
Notable Question PriDix
Popular Question ManojK
Reader Chandramani Adil
Regular qwerty007
Notable Question rishu_darkshadow
Popular Question Rishi yadav
Popular Question makhdoom ghaya
27,417 questions
35,262 answers
33,497 users