1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-10 18:48:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode-cn/problem (Chinese)/从尾到头打印链表 [cong-wei-dao-tou-da-yin-lian-biao-lcof].html
2022-03-29 12:43:11 +08:00

15 lines
353 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<p>输入一个链表的头节点,从尾到头反过来返回每个节点的值(用数组返回)。</p>
<p>&nbsp;</p>
<p><strong>示例 1</strong></p>
<pre><strong>输入:</strong>head = [1,3,2]
<strong>输出:</strong>[2,3,1]</pre>
<p>&nbsp;</p>
<p><strong>限制:</strong></p>
<p><code>0 &lt;= 链表长度 &lt;= 10000</code></p>