- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
The "Naptime" Algorithm: Python Sliding Window Explained | DadCode Ep 2
Python Fundamentals:
If you're dealing with massive datasets or just trying to maximize efficiency in your code, re-summing entire lists is a waste of time. Today, I'm breaking down exactly how to "slide" your data focus to achieve O(n) time complexity. We will walk through two distinct examples, perfect for intermediate Python learners or busy parents looking to sharpen their engineering skills.
In this video, we cover:
The core logic behind the Sliding Window technique.
Example 1: Finding the Maximum Sum of k consecutive data points (e.g., maximizing productivity windows).
Example 2: Finding the Longest Substring Without Repeating Characters.
[Connect with Anthony]
DadCode is my journey balancing a career in AI and DataOps with fatherhood. We focus on having fun while learning engineering, efficiency, and building robust tools. But mostly being quite.
🔗 LinkedIn: www.linkedin.com/in/anthony-tselekis-38251749
💻 GitHub: https://github.com/anthtsel
[Hashtags]
#Python #Algorithms #SlidingWindow #LearnToCode #TechDad #DadCode #CodingTips #EfficientCode
Видео The "Naptime" Algorithm: Python Sliding Window Explained | DadCode Ep 2 канала DadCode
If you're dealing with massive datasets or just trying to maximize efficiency in your code, re-summing entire lists is a waste of time. Today, I'm breaking down exactly how to "slide" your data focus to achieve O(n) time complexity. We will walk through two distinct examples, perfect for intermediate Python learners or busy parents looking to sharpen their engineering skills.
In this video, we cover:
The core logic behind the Sliding Window technique.
Example 1: Finding the Maximum Sum of k consecutive data points (e.g., maximizing productivity windows).
Example 2: Finding the Longest Substring Without Repeating Characters.
[Connect with Anthony]
DadCode is my journey balancing a career in AI and DataOps with fatherhood. We focus on having fun while learning engineering, efficiency, and building robust tools. But mostly being quite.
🔗 LinkedIn: www.linkedin.com/in/anthony-tselekis-38251749
💻 GitHub: https://github.com/anthtsel
[Hashtags]
#Python #Algorithms #SlidingWindow #LearnToCode #TechDad #DadCode #CodingTips #EfficientCode
Видео The "Naptime" Algorithm: Python Sliding Window Explained | DadCode Ep 2 канала DadCode
Комментарии отсутствуют
Информация о видео
10 мая 2026 г. 22:53:11
00:14:29
Другие видео канала







