Please explain what a binary tree is how it works and how do

Please explain what a binary tree is, how it works, and how do I know when a Tree is a Complete Binary Tree or when it is not? Please be VERY detailed, because I am having a hard time grasping Binary Tree\'s.

Solution

Binary Tree :-

* A Binary Tree is a hierarchical data structure in which every element can have maximum two children.

How do I know when a Tree is a Complete Binary Tree or when it is not ?

* If a Binary Tree in which every element must compulsory have either zero or two children then we can say that it is a Complete Binary Tree.

* If a Binary Tree has one and only one children then we can say that it is not a Complete Binary Tree.

Please explain what a binary tree is, how it works, and how do I know when a Tree is a Complete Binary Tree or when it is not? Please be VERY detailed, because

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site