Pergunta de entrevista da empresa Netskope

Given a string, find the longest substring wich is a palindrome.