Search
⌘K

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:

Oracle


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Late April, 2025

Oracle

Staff

Comments

Your account is free and you can post anonymously if you choose.