โ† JPMorgan Chase questions
CodingReported in a candidate post, Jul 2025

Reverse-and-add until the number is a palindrome

Filed under JPMorgan Chase

The question

Given an integer, add it to its reverse and check for a palindrome; repeat until the sum is a palindrome, then print the iteration count and the final palindrome. Example: 121 gives 1 iteration and 242.

No write-up yet. Related questions below have one.

Related JPMorgan Chase questions

Collected from public candidate posts and coding forums. Updated Nov 2026.