Closed Kalyan-1707 closed 3 years ago
binExponentiation returns the value raised to its power in O(log n) time complexity.
It even works for -ve powers too.
binExponentiation returns the value raised to its power in O(log n) time complexity.
It even works for -ve powers too.
Output