Amazon Interview Question

Leetcode- "longest substring without tepeating characters"