Pergunta de entrevista da empresa Tokopedia

Reverse integer number number without changing it into a string