eToro interview question

ask me the leetcode "Reverse integer"