1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-11 02:58:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode-cn/problem (Chinese)/训练计划 II [lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof].html
2023-12-09 18:53:53 +08:00

22 lines
560 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>给定一个头节点为 <code>head</code> 的链表用于记录一系列核心肌群训练项目编号,请查找并返回倒数第 <code>cnt</code> 个训练项目编号。</p>
<p>&nbsp;</p>
<p><strong>示例 1</strong></p>
<pre>
<strong>输入:</strong>head = [2,4,7,8], cnt = 1
<strong>输出:</strong>8</pre>
<p>&nbsp;</p>
<p><strong>提示:</strong></p>
<ul>
<li><code>1 &lt;= head.length &lt;= 100</code></li>
<li><code>0 &lt;= head[i] &lt;= 100</code></li>
<li><code>1 &lt;= cnt &lt;= head.length</code></li>
</ul>
<p>&nbsp;</p>