Bloomberg interview question

Maximum length of a substring