mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-06 07:51:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<p><strong>Note:</strong> The inputs will be generated such that there exists a valid arrangement of <code>pairs</code>.</p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> pairs = [[5,1],[4,5],[11,9],[9,4]]
|
||||
@@ -17,7 +17,7 @@ end<sub>1</sub> = 4 == 4 = start<sub>2</sub>
|
||||
end<sub>2</sub> = 5 == 5 = start<sub>3</sub>
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> pairs = [[1,3],[3,2],[2,1]]
|
||||
@@ -29,7 +29,7 @@ end<sub>1</sub> = 2 == 2 = start<sub>2</sub>
|
||||
The arrangements [[2,1],[1,3],[3,2]] and [[3,2],[2,1],[1,3]] are also valid.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 3:</strong></p>
|
||||
<p><strong class="example">Example 3:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> pairs = [[1,2],[1,3],[2,1]]
|
||||
|
Reference in New Issue
Block a user