摘要:
var detectCycle = function(head) { if(!head)return null; let pre=head,cur=head; while(cur&&cur.next){ pre=pre.next; cur=cur.next.next; if(pre cur){ le 阅读全文
posted @ 2025-11-03 18:57
KooTeam
阅读(2)
评论(0)
推荐(0)
Shu-How Zの小窝
Loading...