mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-06 07:51:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<p>A cycle is a path that starts and ends at the <strong>same</strong> node.</p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
<img alt="" src="https://assets.leetcode.com/uploads/2022/06/08/graph4drawio-5.png" style="width: 335px; height: 191px;" />
|
||||
<pre>
|
||||
<strong>Input:</strong> edges = [3,3,4,2,3]
|
||||
@@ -16,7 +16,7 @@
|
||||
The length of this cycle is 3, so 3 is returned.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
<img alt="" src="https://assets.leetcode.com/uploads/2022/06/07/graph4drawio-1.png" style="width: 171px; height: 161px;" />
|
||||
<pre>
|
||||
<strong>Input:</strong> edges = [2,-1,3,1]
|
||||
|
Reference in New Issue
Block a user