I thnik my logic is correct but there is some implementation error .could you please help
Https://ide.codingblocks.com/s/400076
Hello @siddhant_samal i have correctef your code and now it is giving the correct output:
as you have given the condiditon in the dowhile loop -1 then you hve to give -1 in the loop to end the loop.
Happy Learning!!
sir actually i have a tree question but …idk how the question changed at 400076…please help me to correct this problem …Q.print bst keys in the given range https://ide.codingblocks.com/s/400142
Hello @siddhant_samal i have corrected your code and now it is passing every test cases:
i have commented the mistakes.
if you have any doubt you can ask here:
Happy Learning!!
Thank you sir for your help
@siddhant_samal Happy to help you.
if your doubt is cleared you can mark this as resolved.
Happy Learning!!
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.