Question d’entretien chez Wayfair

Given two strings, find longest common substring