Prasthana interview question

longest string without repetition in the given string