Pergunta de entrevista da empresa Huawei Technologies

Find the least palindrome after a given integer.