Tree bottom view

IN THIS PLEASE EXPLAIN THE INPUT FORMAT
OF TREEE

The array given as input is basically the level order traversal of the tree. The first node is the root, the second is left child and next is right child. Similarly, you start filling the tree from the left side and continue like this till the whole level is filled. -1 denotes that the parent does not have a child. So you need to write a function to create a tree using this level order input.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.