Pregunta de entrevista de Presto

How to write code for finding largest substring in given 2 string?