Question d’entretien chez Nagarro

Coding question 1- Find longest common substring.