We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How come the output is 0 instead of 1056389759 after reversing 1534236469??
Screenshot:
The text was updated successfully, but these errors were encountered:
the question requires the output to be 0 when the result overflow Thus as 1534236469 overflows Integer.MAX_VALUE the output is 0;
Integer.MAX_VALUE
Sorry, something went wrong.
the reverse number of 1534236469 is 9646324351 which is not a 32 bit integer
ps : - a 32bit integer should be less than 4,294,967,296 which is (2^32)
No branches or pull requests
Reverse Integer [Easy]
How come the output is 0 instead of 1056389759 after reversing 1534236469??
Screenshot:
The text was updated successfully, but these errors were encountered: