Pergunta de entrevista da empresa ByteDance

find all palindromic numbers in a given character string