root.left = takeInput(s); //recursive call for left child. root.right = takeInput(s); //recursive call for right child. return root; //we get the complete tree ...
The condition should always evaluate to a boolean. If the condition evaluates to true, expression1 is evaluated and its value returned, else expression2 is evaluated and its value returned. For ...