Question d’entretien chez Microsoft

Write a method (in Java) that would find the longest common substring in two strings