Trackier interview question

Maximum Substring with distinct chars