- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Linked List Cycles: The One Formula Everyone Gets Wrong
Why does resetting one pointer to head and moving both at speed=1 always find the cycle start?
Most people memorize the trick. Today, you'll actually understand WHY it works.
If you're prepping for placements
this is LC 142 | GFG: Find the first node of loop in linked list.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧩 WHAT YOU'LL LEARN
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ Detect if cycle exists (LC 141 recap — 1 min)
✅ Why slow and fast meet inside the cycle
✅ The math behind why head + meeting point → gives the START
✅ Full dry run on an example
✅ Clean C++ code walkthrough
✅ Time: O(N) | Space: O(1) — why it beats HashMap
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📌 LINKS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔗 LeetCode 142 → https://leetcode.com/problems/linked-list-cycle-ii/
🔗 Previous video (LC 141 – Detect Cycle) → https://youtu.be/qaoCTTtDW6c?si=lvcZtREYpizgXkCh
🔗 Instagram for 50-sec visual reels → https://instagram.com/theshinelabs
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👋 ABOUT THIS CHANNEL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Shine Labs is for 3rd & 4th year CS students who've solved 200+ problems
but still blank out when an interviewer asks "explain your approach."
We break down DSA patterns so you don't just solve — you think, explain, and get hired.
Видео Linked List Cycles: The One Formula Everyone Gets Wrong канала ShineLabs
Most people memorize the trick. Today, you'll actually understand WHY it works.
If you're prepping for placements
this is LC 142 | GFG: Find the first node of loop in linked list.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧩 WHAT YOU'LL LEARN
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ Detect if cycle exists (LC 141 recap — 1 min)
✅ Why slow and fast meet inside the cycle
✅ The math behind why head + meeting point → gives the START
✅ Full dry run on an example
✅ Clean C++ code walkthrough
✅ Time: O(N) | Space: O(1) — why it beats HashMap
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📌 LINKS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔗 LeetCode 142 → https://leetcode.com/problems/linked-list-cycle-ii/
🔗 Previous video (LC 141 – Detect Cycle) → https://youtu.be/qaoCTTtDW6c?si=lvcZtREYpizgXkCh
🔗 Instagram for 50-sec visual reels → https://instagram.com/theshinelabs
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👋 ABOUT THIS CHANNEL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Shine Labs is for 3rd & 4th year CS students who've solved 200+ problems
but still blank out when an interviewer asks "explain your approach."
We break down DSA patterns so you don't just solve — you think, explain, and get hired.
Видео Linked List Cycles: The One Formula Everyone Gets Wrong канала ShineLabs
linked list cycle ii lc 142 floyd's cycle detection algorithm find start of loop in linked list striver linked list takeuforward linked list a2z sheet linked list linked list for placements DSA for placements 2025 slow fast pointer tortoise hare algorithm linked list interview questions DSA playlist hindi shine labs placement preparation 2025 SDE interview prep
Комментарии отсутствуют
Информация о видео
9 мая 2026 г. 17:30:16
00:08:00
Другие видео канала





















