Pergunta de entrevista da empresa Zerto

Given a string, find the maximal length of a palindrom sub-string