Pergunta de entrevista da empresa Razorpay

Program to find the next closest palindrome.