This content originally appeared on DEV Community and was authored by Mujahida Joynab
It is not linear data structure . Example - The parent 10 have child 20 and 30 . What data structure to use for this? Can we do it by linked list or array ?
There is root node -> There is no parent of it . Leaf node -> There is no child of it.
This content originally appeared on DEV Community and was authored by Mujahida Joynab

Mujahida Joynab | Sciencx (2025-02-10T00:48:57+00:00) Why we need to learn Tree Data Structure. Retrieved from https://www.scien.cx/2025/02/10/why-we-need-to-learn-tree-data-structure/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.