2 test cases failing in kth root

Hi @Anupreet9,your code passed all the test cases in my system.just try to submit again.

Hey @cutiecoder
Can you please explain why mid is calculated like (st+en+1)/2 and not bu (st+en)/2?

Hi, if you want to calculate mid=(st+en)/2 then you have to just modify your code a bit.
i have done that ,have a look at this:

1 Like

Okay Thanks!!
@cutiecoder