Define tree?

Trees are non-liner data structure, which is used to store data items in a shorted sequence.

It represents any hierarchical relationship between any data Item. It is a collection of nodes,          which has a distinguish node called the root and zero or more non-empty sub trees T1, T2,….Tk. each of which are connected by a directed edge from the root.

Leave a Reply