← Discussions on Palindrome Number
A aksharakulkarni OFFICIAL
05 Jun 2026, 05:47

Clean Python solution, beats most submissions.

Look for the pattern on small inputs first. Watch out for overflow; use long long in C++/Java.

1 reply

okapoor 4 months, 1 week ago

Thanks! The dry run on the second example made it click.

Sign in to reply.