how to take input…please explain
Structurally identical
@dakshi you are given the value for root value, and a string “true” or “false”. The first string implies if left child exists or not, and the second child is for the right child. If child exists, ie string is “true” then you call the function for left subtree and make it. If it is “false” then you do nothing. Similarly make the right subtree recursively.