American Express interview question

Longest Substring without repeating characters