LeetCode
Find the Closest Palindrome
Click
here
for an explanation.