Pregunta de entrevista de MSCI

find longest common substring in given string