#binary-exponeniation
Read more stories on Hashnode
Articles with this tag
The Binary Exponentiation is a trick to calculate \(a^n\) in O(logn) instead of O(n) Let's see \(a^n\),\(a^n \) equals the value of 1 multiplied by a,...