Frage im Vorstellungsgespräch bei Presto

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