Pergunta de entrevista da empresa ALTEN

find the biggest sequence in a given string where char should not be repeated. Write a program for the same.