Domanda di colloquio di Google

Implement a function that calculates power x y

Risposte di colloquio

Anonimo

9 feb 2014

Very easy to implement the straight forward solution, but tricky to get the best implementation.

Anonimo

21 apr 2016

What is the preferred answer?