LONGEST SUBSTRING WITHOUT REPEATING CHARACTERS | LEETCODE 3 | PYTHON SOLUTION

Опубликовано: 31 Март 2026
на канале: Cracking FAANG
1,635
47

Problem Link: https://leetcode.com/problems/longest...

Discord Link:   / discord  

In this video we are solving a classic interview question and one that's quite popular on Leetcode: Longest Substring without Repeating Characters (Leetcode 3). It's currently being asked at a lot of the top companies to definitely one to know.

Nothing too crazy going on in this one to be fair, it's just a greedy type problem that uses a sliding window to solve it. The solution is easy to understand and easy to code up.

TIMESTAMPS:
00:00 Intro
00:15 Question Prompt
00:20 Example
02:15 Optimal Solution Intuition
09:56 Coding
13:05 Time/Space Complexity
15:00 Outro