Pergunta de entrevista da empresa Apple

Write a program in your language of choice (python) to find the longest substring in an array with no repeated characters.