EmbeddedInterviewLab
Topics
Interview
Coding
Toggle menu
Start Learning
All Problems
Pow(x, n)
Medium
•
math
•
Expected: O(log n) time, O(1) space
•
Interview Context
bit-manipulation
Problem
Implement pow(x, n), which calculates x raised to the power n.
Show Reference Solution
Language:
C++
C
Submit
Loading...