DIY: Pow(x, n)

Solve the interview question "Pow(x, n)" in this lesson.

Problem statement

For this problem, you are given an integer base and power value. You have to implement the pow() function, which will raise the base to a specified ...

Access this course and 1400+ top-rated courses and projects.