Wayfair interview question

Given two strings, find longest common substring