Question d’entretien chez Amazon

Implement Math.pow(a, b) in java.

Réponse à la question d'entretien

Utilisateur anonyme

23 sept. 2015

1. Use recursion, be careful of edge cases with negatives and 0. 2. Improve efficiency by using properties of powers

6