why my some test cases fail.
Is there any problem with my logic
Modular exponentation
hello @aattuull there was one small trick in this question and i have now corrcted and commented it .
please mark this as resolved.
i hope i have cleared your doubt .
Happy Learning !!
@aattuull i have just passed c as a parameter to take the modulus and in the recursion call at every step i am just taking the modulus at every step instead of taking modulus only at the final step.
i hope i have cleared your doubt .
please mark this as resolved.
Happy Learning !!
1 Like
