What is tree?
Tree
It is a non linear data structure which ids used to represent data in hierarchy format.Its main objective to implement hierarchy database in DBMS.In other word tree can be define as-
It is a collection of vertices and edges. It is similar to graph but tree does not contain any cycle so we can say that all tree are graph but all graph are not tree.
A tree is said to be a non cyclic graph because it does not contain any cycle.
Comments
Post a Comment