Pregunta de entrevista de Nagarro

Coding question 1- Find longest common substring.