Pergunta de entrevista da empresa InfinityLabs R&D

implement power function, implement string reverse function.