Pergunta de entrevista da empresa Deloitte

They have asked to solve one coding question, that was to find largest palindromic substring in a string.