In this Unit we will Learn about Trees ADT and how to Implement them
Why to use Tree ADT. Theoretical understanding regarding its time has already been seen why we are using trees! Remember the time complexity in searching log (n) over the cost of insertion and deletion (o(n) ) . Have you observed on your computer how files are organized in a tree structure?
Fine!
Observe some other interesting applications of Trees!
Now let's start this journey by finding different possibilities with which we can make trees
See there are two scenarios - 1) if you are given some nodes without labels and