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)/从尾到头打印链表 [cong-wei-dao-tou-da-yin-lian-biao-lcof].html

15 lines
353 B
HTML
Raw Normal View History

2022-03-27 20:38:29 +08:00
<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>