hey! can you please help me with this code.
I have used Lucas theorem to find (1/r!) and for n! / (n-r)! I have used space and time efficient binonial approach.
I have also used fast exponentiation to aid Lucas method. But still the code is giving me wring answer.
Thanks!