i am not getting how to splve
Donot know the solution
hello @naaz
we have to find value of x such that x^k<=n.
so the idea is to use binary search on the value of x.
to find largest x such that x^k <=n holds
still not getting i saw the solution also but i donot get
havr you gone through the binary search concept??
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.
how i can overcome constrain because it is 10 to the power 15