Run Time Error in all the Test Cases

Can you please mention the mistake due to which my program is giving Run Time Error?

hello @mrpareek
please share ur code using cb ide

hello @mrpareek

image

here dont call build function
instead create a new node with value c1 , c2 and assing there address to ans->left and ans->right respectively

1 Like

Thank You brother…I wasn’t able to just see it :sweat_smile:

Bro can you please help me with another problem…I have asked for it but haven’t received a response till now.

i am not seeing ur doubt in the portal ,probably some other ta is taking that
u can raise a different doubt for the same issue

So for that I will have to click on resolved?

no ,create a fresh doubt thread (as u did for this doubt)

You can check now,I have raised a doubt