Problem statement: what do you mean by Tree?
- Tree is non-linear data structures where each node point to a number of nodes unlike linked list data structure each node points to the next node in a linear fashion.
- In tree ADT(Abstract Data Type), order of the element is not important.
- If we need ordering information, then linear data structure like linked list, stack, queue, etc can be used.
No comments:
Post a Comment