- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Longest Subsequence Repeated k Times | leetcode 2014
In this video, we tackle “Longest Subsequence Repeated K Times”, a brilliant combination of BFS and greedy expansion.
We build possible subsequences lexicographically and check which ones appear at least k times in the original string — using a helper function and queue-based exploration.
A great problem to practice subsequence logic, counting patterns, and pruning with character constraints.
#LeetCode #CPlusPlus #BFS #Greedy #Subsequence #CodingInterview #DSA
🔗 Connect with me on LinkedIn: https://www.linkedin.com/in/sajeeb-das
Видео Longest Subsequence Repeated k Times | leetcode 2014 канала Sajeeb Das Shuvo
We build possible subsequences lexicographically and check which ones appear at least k times in the original string — using a helper function and queue-based exploration.
A great problem to practice subsequence logic, counting patterns, and pruning with character constraints.
#LeetCode #CPlusPlus #BFS #Greedy #Subsequence #CodingInterview #DSA
🔗 Connect with me on LinkedIn: https://www.linkedin.com/in/sajeeb-das
Видео Longest Subsequence Repeated k Times | leetcode 2014 канала Sajeeb Das Shuvo
Комментарии отсутствуют
Информация о видео
27 июня 2025 г. 17:00:19
00:11:48
Другие видео канала




















