Implement a function to calculate the power of a number using recursion.
MediumProblem Statement
Implement a function to calculate the power of a number using recursion.
Sample Input
2, 3
Sample Output
8
Limits
Time: 2s · Memory: 256 MB
Implement a function to calculate the power of a number using recursion.
2, 3
8
Time: 2s · Memory: 256 MB