- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Day 696 | Leetcode 3291| Find the Maximum Length of Valid Subsequence I
Video Summary:
We are given an array nums. We need to return the length of the longest valid subsequence.
Valid subsequence is defined as when the parity of sum of adjacent pairs is equal.
(nums[0[ + nums[1]) % 2 == (nums[1] + nums[2]) % 2
------------------------------------------------------------------
Hi everyone, this is the 14th video of our playlist: POTD problems.
My POTD Playlist : • https://www.youtube.com/playlist?list=PLq197d8rBM7lYrpqiB8ycGY6TTwutZeYw
Problem Name : Find the Maximum Length of Valid Subsequence I
Solution Link : https://leetcode.com/problems/find-the-maximum-length-of-valid-subsequence-i/submissions/1700465930/?envType=daily-question&envId=2025-07-16
My Sliding window Playlist : • https://www.youtube.com/playlist?list=PLq197d8rBM7lbrBZBv5GrpbhSa0oyIsJv
My Recursion and DP Playlist : • https://www.youtube.com/playlist?list=PLq197d8rBM7mAYpf9msc_gzE4p9HiqxtR
My HashMap problems Playlist : • https://www.youtube.com/playlist?list=PLq197d8rBM7lyMCN2GYwcfNTW4qGBQDYr
My Graph Playlist : • https://www.youtube.com/playlist?list=PLq197d8rBM7kztq9rzXUOSMoWS7P4NJZb.
My Bit Manipulation Playlist : • https://www.youtube.com/playlist?list=PLq197d8rBM7kRX1SUZEnDK7Tbe1JeKzNI
My Math Problems Playlist : • https://www.youtube.com/playlist?list=PLq197d8rBM7lQ2rxabUjw0tA2S0HdSpRh
Also see the 2023 and 2024 repos by changing the year in the URL.
My GitHub Repo for interview preparation: https://github.com/Abdul-Rahimm/LeetCode_2025
✨ Timelines✨
00:00 - Understanding the Problem requirements
1:40 - Insightful test cases - alternating parity
6:35 - Deep dive into the approach
11:42 - 4 cases | patterns
13:35 - Coding it up
16:40 - Complexity Anaylsis
#youcanlearnanything #dsa #education #algorithms #leetcode #easy #arrays #leetcodeproblems #leetcodechallenge #leetcodeing #problemoftheday #problemsolving #dsa #dsaproblems #dsaforbeginners #algorithms #algorithmbasics #algorithmexplained
Видео Day 696 | Leetcode 3291| Find the Maximum Length of Valid Subsequence I канала Code with AR
We are given an array nums. We need to return the length of the longest valid subsequence.
Valid subsequence is defined as when the parity of sum of adjacent pairs is equal.
(nums[0[ + nums[1]) % 2 == (nums[1] + nums[2]) % 2
------------------------------------------------------------------
Hi everyone, this is the 14th video of our playlist: POTD problems.
My POTD Playlist : • https://www.youtube.com/playlist?list=PLq197d8rBM7lYrpqiB8ycGY6TTwutZeYw
Problem Name : Find the Maximum Length of Valid Subsequence I
Solution Link : https://leetcode.com/problems/find-the-maximum-length-of-valid-subsequence-i/submissions/1700465930/?envType=daily-question&envId=2025-07-16
My Sliding window Playlist : • https://www.youtube.com/playlist?list=PLq197d8rBM7lbrBZBv5GrpbhSa0oyIsJv
My Recursion and DP Playlist : • https://www.youtube.com/playlist?list=PLq197d8rBM7mAYpf9msc_gzE4p9HiqxtR
My HashMap problems Playlist : • https://www.youtube.com/playlist?list=PLq197d8rBM7lyMCN2GYwcfNTW4qGBQDYr
My Graph Playlist : • https://www.youtube.com/playlist?list=PLq197d8rBM7kztq9rzXUOSMoWS7P4NJZb.
My Bit Manipulation Playlist : • https://www.youtube.com/playlist?list=PLq197d8rBM7kRX1SUZEnDK7Tbe1JeKzNI
My Math Problems Playlist : • https://www.youtube.com/playlist?list=PLq197d8rBM7lQ2rxabUjw0tA2S0HdSpRh
Also see the 2023 and 2024 repos by changing the year in the URL.
My GitHub Repo for interview preparation: https://github.com/Abdul-Rahimm/LeetCode_2025
✨ Timelines✨
00:00 - Understanding the Problem requirements
1:40 - Insightful test cases - alternating parity
6:35 - Deep dive into the approach
11:42 - 4 cases | patterns
13:35 - Coding it up
16:40 - Complexity Anaylsis
#youcanlearnanything #dsa #education #algorithms #leetcode #easy #arrays #leetcodeproblems #leetcodechallenge #leetcodeing #problemoftheday #problemsolving #dsa #dsaproblems #dsaforbeginners #algorithms #algorithmbasics #algorithmexplained
Видео Day 696 | Leetcode 3291| Find the Maximum Length of Valid Subsequence I канала Code with AR
Комментарии отсутствуют
Информация о видео
16 июля 2025 г. 23:50:12
00:17:15
Другие видео канала




















