leetcode update

This commit is contained in:
gameloader 2024-03-21 18:26:40 +08:00
parent de7024a2c9
commit e056861b08

View File

@ -1719,7 +1719,7 @@ func reverseList(head *ListNode) *ListNode {
### 总结 ### 总结
本题是一道基础题, 在查看他人解答的过程中发现本题也可以将链表数据全部复制出来, 再遍历链表逆序赋值即可. 示例代码如下 这两天都是链表相关的题目, 本题是一道基础题, 在查看他人解答的过程中发现本题也可以将链表数据全部复制出来, 再遍历链表逆序赋值即可. 示例代码如下
```go ```go
/** /**