Uber Interview Question

Find the Closest Palindrome from leetcode.