Build binary search tree

no output is coming on submitting the folowwing code
;
please check the code:

Your code to make the tree is incorrect. See the input once again. There is no -1.

unable to find the issue. can you please help me with the code

https://www.geeksforgeeks.org/sorted-array-to-balanced-bst/ see this once.

can you please provide the code for the same

The code is the same as on the link I just sent you

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.