Pergunta de entrevista da empresa Tokopedia

Reverse integer number without changing it into a string