Leetcode 7. Reverse Integer
Reverse the digits of a signed 32-bit integer, preserving the sign, and return the reversed number or 0 if reversing would overflow the 32-bit signed range; detect overflow without using 64-bit arithmetic.
Asked at:
eBay
Oracle
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Late May, 2026
eBay
Mid-level
Late April, 2025
Oracle
Staff
Hello Interview Premium
Your account is free and you can post anonymously if you choose.