Search
⌘K

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:

Goldman Sachs

Microsoft

Microsoft

Apple

Autodesk


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Mid May, 2026

Apple

Manager

Early May, 2026

Autodesk

Senior

Mid April, 2026

Goldman Sachs

Senior

Leetcode 3. Longest Substring Without Repeating Characters

Your account is free and you can post anonymously if you choose.