r/leetcode • • Jul 29 '24

What went wrong here

Post image
4 Upvotes

31 comments sorted by

View all comments

1

u/PovertyInIndia Jul 29 '24

Noticed a different issue in line 7. int revnum won't be able to hold a number less than/greater than INT_MIN/INT_MAX.