enter image description here
Its passing all the test cases except for x=1534236469;
I assume its overflow issue, but my code should handle. Can’t figure it out why it’s happening.
If its not possible reverse within integer range, then zero should be returned according to my code.
New contributor
Suraj Choudhary is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.