会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
轻抚离殇
博客园
首页
新随笔
联系
订阅
管理
随笔分类 -
算法
堆排序
摘要:1 void HeapSort(int H[],int length) { 2 BuildingHeap(H,length); 3 for (int i=length-1;i>0;--i) { 4 int temp=H[i];H[i]=H[0];H[0]=temp...
阅读全文
posted @
2015-09-08 15:53
轻抚离殇
阅读(146)
评论(0)
推荐(0)
单链表的反转
摘要:1 Node *list_reverse(Node *head) { 2 if(NULL == head) { 3 return NULL; 4 } 5 Node *prev,*curr,*reverse_head,*temp; 6 prev=NU...
阅读全文
posted @
2015-09-08 15:41
轻抚离殇
阅读(132)
评论(0)
推荐(0)
公告