Powx N Recursion Problem

Powx N Recursion Problem — ExecCode Medium DSA Practice

Solve the Powx N Recursion problem on ExecCode. Free online medium DSA practice in Arrays - Basics. Write and run code in Java, C++, Python — no signup required to run.

Problem description

Practice companion for CodeFlow powx-n-recursion.

Examples

Input {"x": 2.0, "n": 10}; Output 1024.0. Input {"x": 3.5, "n": 8}; Output 22518.75390625. Input {"x": 3.0, "n": 12}; Output 531441.0

Constraints

1 ≤ n ≤ 10^5

Practice Powx N Recursion free on ExecCode. Browse DSA problems, topic map, and placement guides.