https://practice.geeksforgeeks.org/problems/find-k-th-smallest-element-in-bst/1
what is the error here?
https://practice.geeksforgeeks.org/problems/find-k-th-smallest-element-in-bst/1
what is the error here?
@chaman9 hey you should change your return type to int as we have to find kth smallest from left recursion or right recursion,I have made changes to your code,please check that you will get what I am trying to say:https://ide.codingblocks.com/s/311277
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.