Pregunta de entrevista de Morgan Stanley

Coding problem about largest string.