Modular Exponentiation using recursion (Better approach)
drishika2002 opened this issue · 1 comments
drishika2002 commented
Problem Statement
Calculate the value of ( (x^n) % K ) using recursion with time complexity O(log n)
Language: C++
Please assign this issue to me.
github-actions commented
Hi 😄, @drishika2002 Thanks for creating issue at AlgoTree, do read and follow the Code of Conduct and the Contribution Guidelines while contributing. Refer to PR's which has been merged earlier in AlgoTree Click Here Like, How many File they have changed?, Which type of files need to be change? and many more.