Domanda di colloquio di Allyis

Reverse an integer only using integers. Leetcode easy question.