Table of contents |
|
Applications of tree data structure |
|
1 Crore+ students have signed up on EduRev. Have you? |
Why Tree?
Unlike Array and Linked List, which are linear data structures, tree is hierarchical (or non-linear) data structure.
One reason to use trees might be because you want to store information that naturally forms a hierarchy. For example, the file system on a computer:
file system
———–
/ <-- root
/ \
... home
/ \
ugrad course
/ / | \
... cs101 cs112 cs113
Use Code STAYHOME200 and get INR 200 additional OFF
|
Use Coupon Code |