1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-11 19:18:14 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/算法题(国内版)/problem (Chinese)/合并两个排序的链表 [he-bing-liang-ge-pai-xu-de-lian-biao-lcof].html

13 lines
544 B
HTML
Raw Normal View History

2022-03-27 20:38:29 +08:00
<p>输入两个递增排序的链表,合并这两个链表并使新链表中的节点仍然是递增排序的。</p>
<p><strong>示例1</strong></p>
<pre><strong>输入:</strong>1-&gt;2-&gt;4, 1-&gt;3-&gt;4
<strong>输出:</strong>1-&gt;1-&gt;2-&gt;3-&gt;4-&gt;4</pre>
<p><strong>限制:</strong></p>
<p><code>0 &lt;= 链表长度 &lt;= 1000</code></p>
<p>注意:本题与主站 21 题相同:<a href="https://leetcode-cn.com/problems/merge-two-sorted-lists/">https://leetcode-cn.com/problems/merge-two-sorted-lists/</a></p>