Domanda di colloquio di Salesforce

Maximum substring from given substring containing all different characters