solulubeta
Sign in
NeetCode 150 / Sliding Window
03.02 · Problem

Longest Substring Without Repeating Characters

Medium Variable sliding window + last-seen index 1 video LC 3 Pro

This problem is part of solulu Pro

Given a string s, return the length of the longest substring (contiguous) in which no character appears twice.

Lifetime ₹1,999 ₹999 · Launch offer
Mark this problem as solved when you are finished.

Item 16 of 150 · updated 2026-10-12