Разбираем 5 задач на Sliding Window | Leetcode | FAANG interview
В этом видео мы разбираем Sliding Window паттерн, для решения задач на собеседованиях. Для примера решим 5 задач с литкода. Содержание 0:00 Вступление 0:24 Задача 1 (easy) 6:17 Sliding Window Pattern 7:20 Задача 2 (medium) 11:27 Задача 3 (medium) 14:00 Задача 4 (medium) 15:56 Задача 5 (hard) Список задач: 1876. Substrings of Size Three with Distinct Characters Литкод - https://leetcode.com/problems/substri...
Код - https://github.com/IhorPeresunko/YouT...
3. Longest Substring Without Repeating Characters Литкод - https://leetcode.com/problems/longest...
Код - https://github.com/IhorPeresunko/YouT...
159. Longest Substring with At Most Two Distinct Characters Литкод - https://leetcode.com/problems/longest...
Код - https://github.com/IhorPeresunko/YouT...
340. Longest Substring with At Most K Distinct Characters Литкод - https://leetcode.com/problems/longest...
Код - https://github.com/IhorPeresunko/YouT...
76. Minimum Window Substring Литкод - https://leetcode.com/problems/minimum...
Код - https://github.com/IhorPeresunko/YouT...
Смотрите также
