Problem 50 · Medium
Compute x raised to power n efficiently using binary exponentiation.
Open the interactive visualisation