Pregunta de entrevista de INRIX

Find the longest non-repeating substring in a string.