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:
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.
Mr. Rahul Agarwal
Department of IT
Biyani Group of Colleges