GE Aerospace Interview Question

Explain the algorithm for the next greatest palindrome