Finding a beginning of a loop in a linked list. Leetcode #142 (medium) task.

preview_player
Показать описание
Cracking SDE interview. Trivial solution for "142. Linked List Cycle II" medium leetcode task.

Links helping you to prepare for interviews:

Decent programming books:
Рекомендации по теме
Комментарии
Автор

This video is getting downvoted because most people looking up this topic are not looking for the obvious brute force solution. They're looking for an explanation of the solution that's not only O(n) complexity but also O(1) storage.

sucyshi
welcome to shbcf.ru