What is the time complexity of the exponentiation by squaring method for raising a number x to a power n?

1
O(n)
2
O(log n)
3
O(n^2)
4
O(1)

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation