Leetcode 3. Longest Substring Without Repeating Characters
Find the length of the longest contiguous substring that contains no repeated characters. This is a classic sliding-window / two-pointer problem where you track seen characters to expand and contract the window efficiently (linear-time expected).
Asked at:
Microsoft
Goldman Sachs
Apple
Autodesk
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Mid May, 2026
Apple
Manager
Early May, 2026
Autodesk
Senior
Early May, 2026
Spotify
Mid-level
Hello Interview Premium
Your account is free and you can post anonymously if you choose.