Binary Search Kth Root


I wrote this code for kth root but two of the test cases are showing time limit and one is showing wrong answer.

Thank you sir, but what was the problem in the code that I had written?

Your code is giving wrong outputs in all the test cases, In most cases 1 as the output irrespective of the input.

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.