会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yexuannan
博客园
首页
新随笔
联系
管理
订阅
2014年4月29日
20140429 单链表循环体 单链表找中间元素
摘要: 1、单链表循环体用while(p->next!=NULL)而不用while(p!=NULL)的原因 node *Find_MidNode(node *head){ if(head->next==NULL||head->next->next==NULL) return head->next; node *p=head->next,*mid=head->next; ...
阅读全文
posted @ 2014-04-29 22:13 yexuannan
阅读(235)
评论(0)
推荐(0)
编辑
公告