摘要: 给一个长度为n链表,若其中包含环,请找出该链表的环的入口结点,否则,返回null。 struct ListNode* EntryNodeOfLoop(struct ListNode* pHead ) { // write code here if(pHead==NULL|| pHead->next= 阅读全文
posted @ 2023-07-14 20:32 歪爱慕外 阅读(13) 评论(0) 推荐(0)