Pergunta de entrevista da empresa Baikal Electronics

A task from LeeTCode (7. Reverse Integer).