Solving Leetcode: #142 Linked List Cycle 2

Pew-pew, subs! How are you doing? Have you missed me? Today we continue to observe tortoises and hairs from [the previous Solving Leetcode session.](https://algoclub.xyz/2022/01/30/solving-leetcode-141-linked-list-cycle/(opens in a new tab)) We’re gonna solve the problem #142 Linked List Cycle 2. Given the head of a linked list, return the node where the cycle begins. If there is no cycle, return null. There is a cycle in a linked list if there is some node in the list that can be reached again by continuously following the next pointer....

February 6, 2022 · 4 min · 751 words · Me