How will i take input.... I have solved it on leetcode by writting function only

@faangcodingblocks hey input is simply like normal input just take in form of string and where there is null at that position child is not present and use recursion to build the tree.

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.