Pow(x, n) at Meta

Medium38.2% acceptance

This problem has 87.5% frequency at Meta.

Problem Description

Implement [pow(x, n)](<http://www.cplusplus.com/reference/valarray/pow/>), which calculates `x` raised to the power `n` (i.e., `xn`).

Read full problem and hints

Topics

Also asked at 22 companies


More Meta Questions

View all Meta questions