Wayfair Interview Question

Given two strings, find longest common substring