+ 1
The problem occurs when the result produce integer overflow. So use long type instead of int. Or return just return reversed String..
29th Dec 2022, 8:27 AM
Jayakrishna 🇼🇳
+ 4
could you please link your code so we can check on it?
28th Dec 2022, 7:18 PM
Lisa
Lisa - avatar