Tree is a non linear data structure. It is a structure of two elements. First is vertex and second is edge similar as graph structure but the difference is every graph is not tree while every tree is also a graph.
Tree is a special graph which must follows two conditions:
(a) Acyclic
(b) Connected
So, an acyclic connected graph is known as tree or general tree.
Rooted tree is a special tree which have a root or starting node.This tree is also known as Hierarchical tree and used to store data which is hierarchical in nature.
Binary tree is a special rooted tree in which each node may have maximum two child.
Blog By:-
Mr. Rahul Agarwal
Assistant Professor
Department of IT
Biyani Group of Colleges