Find the nearest palindrome for a given integer
Sigiloso
Offered two solutions, one was the brute force approach where you search from the integer until you find a palindrome. Second was to reverse the the first half of the integer and replace the second half with the reversed half.