ALTEN Interview Question

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