Pregunta de entrevista de InfinityLabs R&D

implement power function, implement string reverse function.