Amazon Interview Question

Find the longest substring of non repeating characters within a string given.