<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>LeetCode on CuSO4_Deposit</title><link>https://depoze.xyz/tags/leetcode/</link><description>Recent content in LeetCode on CuSO4_Deposit</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Mon, 28 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://depoze.xyz/tags/leetcode/index.xml" rel="self" type="application/rss+xml"/><item><title>Leetcode 142 - Linked List Cycle II</title><link>https://depoze.xyz/pages/leetcode-142/</link><pubDate>Wed, 26 Apr 2023 00:00:00 +0000</pubDate><guid>https://depoze.xyz/pages/leetcode-142/</guid><description>&lt;h2 id="problem"&gt;Problem&lt;/h2&gt;&#10;&lt;p&gt;Given the &lt;code&gt;head&lt;/code&gt; of a linked list, return &lt;em&gt;the node where the cycle begins. If there is no cycle, return&lt;/em&gt; &lt;code&gt;null&lt;/code&gt;.&lt;/p&gt;&#10;&lt;p&gt;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 &lt;code&gt;next&lt;/code&gt; pointer. Internally, &lt;code&gt;pos&lt;/code&gt; is used to denote the index of the node that tail&amp;rsquo;s &lt;code&gt;next&lt;/code&gt; pointer is connected to (&lt;strong&gt;0-indexed&lt;/strong&gt;). It is &lt;code&gt;-1&lt;/code&gt; if there is no cycle. &lt;strong&gt;Note that&lt;/strong&gt; &lt;code&gt;pos&lt;/code&gt; &lt;strong&gt;is not passed as a parameter&lt;/strong&gt;.&lt;/p&gt;</description></item></channel></rss>