If I try to cout root->data I am getting the wrong answer. My code: https://ide.codingblocks.com/s/655786
My code is not accepting input the correct way
@mitrapranav0027_5d705c8b616e0add
// value of n is not given which you took
else code is correct refer to this https://ide.codingblocks.com/s/655794
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.