节点文献

冒泡排序算法在静态链表上的实现

Realization of bubble sort algorithm on static linked list

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 吴超云郝庆一

【Author】 WU Chao-yun;HAO Qing-yi;School of Mathematics and Computational Science,Anqing Teachers College;

【机构】 安庆师范学院数学与计算科学学院

【摘要】 利用静态链表的原理,冒泡排序算法在静态链表上实现时只改变结点的游标,排好序后再利用order优先搜索算法将每个记录移动到相应位置。实验及分析结果表明,记录移动的时间复杂度由O(n2)下降到O(n),当单个记录需要较大的存储空间时,效率较高。

【Abstract】 Making use of the principle of static linked list,the realization of bubble sort algorithm on static linked list only changes the cursor of nodes. After sorting,order first search is used to move every record to the corresponding position. Experimental results showed that the time complexity of record moving descends from O( n2) to O( n) and it has higher efficiency when a single record need larger storage space.

【基金】 安徽省教育厅自然科学研究项目(KJ2011B084)资助
  • 【文献出处】 阜阳师范学院学报(自然科学版) ,Journal of Fuyang Teachers College(Natural Science) , 编辑部邮箱 ,2013年04期
  • 【分类号】TP311.12
  • 【被引频次】1
  • 【下载频次】77
节点文献中: 

本文链接的文献网络图示:

本文的引文网络