Astroyogi interview question

write code find longest common substring