会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
fenicnn
Whatever doesn't kill you, makes you stronger
博客园
首页
新随笔
联系
订阅
管理
2018年4月4日
判断链表有公共点
摘要: 判断两个链表是否相汇,可以通过将第一个链表的尾部与第二个链表的头部相连接,如果链表形成了环,则说明链表相汇了。 / 两个链表是否公共结点 / include include include include using namespace std; typedef struct node link;
阅读全文
posted @ 2018-04-04 00:16 fenicnn
阅读(137)
评论(0)
推荐(0)
编辑
公告