Top Stories published by Data Science & LeetCode for Kindergarten in April of 2023

50. Pow(x, n)

Implement pow(x, n), which calculates x raised to the power n (i.e., xn).

Example 1:

Input: x = 2.00000, n = 10
Output: 1024.00000

Example 2:

Input: x = 2.10000, n = 3
Output: 9.26100

These were the top 10 stories published by Data Science & LeetCode for Kindergarten in April of 2023. You can also dive into daily archives for April of 2023 by using the calendar at the top of this page.