Pergunta de entrevista da empresa InfinityLabs R&D

Write a function that returns X to the power of Y.