-
Binary Tree is non-linear data structures.
-
A binary tree is a tree data structure in which each node has at most two children, which are referred to as the left child and the right child.
-
A Binary Tree is represented by a pointer to the topmost node in the tree. If the tree is empty, then the value of root is NULL. A Binary Tree node contains the following parts.
- Data
- Pointer to left child
- Pointer to the right child