Tree is a non linear data structure .
It is non linear because it not linear . One value have multiple values . It is not parallel .
We cannot go back in tree . Example - If we come to branches from root .We cannot go back to root . Because it follows hierarchy . We can go to child from parent . But cannot go to parent from child
Tree have -
Root
Branches
Leaf
It is hierarchy data structure . Hierarchy means parent and child and his child and his child .
Middle element are branches . End of the tree we have leaf node .
Top comments (0)