MSCI Interview Question

find longest common substring in given string