ServiceNow Interview Question

Given a number Find the next smallest Palindrome Number