Pergunta de entrevista da empresa Springer Nature

Longest common substring to find between two given strings.