作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2004, Vol. 30 ›› Issue (01): 181-.

• 论文 • 上一篇    下一篇

利用舍伍德算法实现线性表的快速查找

刘惊雷,范辉,范宝德   

  1. 烟台大学计算机系,烟台大学计算机系,烟台大学计算机系 烟台 264005 ,烟台 264005
  • 发布日期:2004-01-15

Quick Search of Linear List Using Sherwood Algorithm

LIU Jinglei, FAN Hui, FAN Baode   

  1. (Dept. of Computer Science ,Yantai University ,Yantai 264005)
  • Published:2004-01-15

摘要: 舍伍德算法是概率算法的一种,该文在比较了线性表的顺序存储与链式存储的特 点之后,提出了一种较优的数据结构——用数组模拟链表。理论上证明了采用舍伍德算法进 行查找运算的时间复杂度为O(n1/2),并在计算机上给出了相应数据的模拟。

关键词: 舍伍德算法, 概率算法, 查找

Abstract: Sherwood algorithm is a kind of probability algorithm, After compari ng characteristic of linear list stored by sequential array and single linked li st, The paper puts forward a data structure ——Linked list simulating by array. And it proves that time complexity of search operation is O(n1/2) by it in theo ry. At last, the paper gives some data testing in computer.

中图分类号: