BM13 判断一个链表是否为回文结构
2023/9/16小于 1 分钟
BM13 判断一个链表是否为回文结构
题目链接
题目描述
刷题思路
代码实现
/*
* function ListNode(x){
* this.val = x;
* this.next = null;
* }
*/
/**
*
* @param head ListNode类 the head
* @return bool布尔型
*/
export function isPail(head) {
console.log(head)
}
一些建议
更新日志
2024/7/29 15:43
查看所有更新日志
5a2b2
-于c0f2d
-于06596
-于9b9e4
-于c374b
-于b0275
-于5f1e1
-于ee71d
-于