Problem 2443 · Medium

Sum of Number and Its Reverse

Try each candidate x up to num, reverse its digits, and check whether x plus the reverse equals num.

Open the interactive visualisation