If i want ‘-1’ as a input element in binary tree, how to build the tree then?
Input of Binary Tree
@pscoders94 It is very easy but before tell me do you want -1 to be termination condition or as a node element
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.
I want -1 as a node in the tree