LeetCode 0050 - Pow(x, n)
Contents
Pow(x, n)
Desicription
Implement pow(x, n).
Example 1:
1 | Input: 2.00000, 10 |
Example 2:
1 | Input: 2.10000, 3 |
Solution
1 | class Solution { |
Implement pow(x, n).
Example 1:
1 | Input: 2.00000, 10 |
Example 2:
1 | Input: 2.10000, 3 |
1 | class Solution { |