Pow(x, n) at Microsoft
Medium38.2% acceptance
This problem has 62.5% frequency at Microsoft.
Problem Description
Implement [pow(x, n)](<http://www.cplusplus.com/reference/valarray/pow/>), which calculates `x` raised to the power `n` (i.e., `xn`).
Read full problem and hintsTopics
Also asked at 22 companies
More Microsoft Questions
Add Two NumbersMediumPalindrome NumberEasyRoman to IntegerEasyReverse IntegerMediumMerge Two Sorted ListsEasy
View all Microsoft questions