Exponent problem algo++
-fast-exponentiation-using-bitmasking
shyamsisodiya
(shyam sisodiya)
March 28, 2020, 12:19pm
#1
is it faster than pow()
S19APP-PP0108
(Sarthak Goel)
March 28, 2020, 12:35pm
#2
Yes it is much faster than pow(). And also takes O(logn) time.