In this programming tutorial we're going to break down the coding problem "Longest Substring Without Repeating Characters" also known as "Longest Unique Substring". It's a tricky problem that appears in many coding interviews.
Key points:
sliding window grows on every iteration of the main loop
sliding window shrinks until the current element is not in the set
on every iteration of the main loop update the max if necessary
00:00 - Intro
01:14 - Brute Force Solution Explained
03:30 - Brute Force in JavaScript
06:13 - Optimal Solution (Sliding Window) Explained
08:55 - JavaScript implementation (Linear complexity)
11:26 - Python implementation (Sliding window)
En esta página del sitio puede ver el video en línea Longest Substring Without Repeating Characters | JavaScript | Python | Leetcode Explained de Duración hora minuto segunda en buena calidad , que subió el usuario Coderslang: Become a Software Engineer 15 noviembre 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 29 veces y le gustó 0 a los espectadores. Disfruta viendo!