Bloomberg Interview Question

Maximum length of a substring