Question d’entretien chez Presto

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