LinkedIn interview question

Implement the power function.