期刊文献+

基于二分搜索的单峰性数组研究

Sorting an Array of Single Peak Based on the Binary Search
下载PDF
导出
摘要 对于一个具有单峰性的且数组内每个元素均不相同的一维数组A,查找其顶峰元素下标i,要求时间复杂度为O(log2n),问题形式化后经分析采用二分搜索方法,文中已给出算法伪代码,并从时间复杂度、空间复杂度等方面对算法进行了讨论。 For each element vary within a single peak and an array of one-dimensional array A,the subscript i find its peak elements,the re quired time complexity is O(log2n),after the formalization of the problem analysis using the binary search method has been given in the algorithm pseudo-code,and from time complexity,space complexity of the algorithm are discussed.
出处 《电脑知识与技术(过刊)》 2012年第5X期3359-3360,共2页 Computer Knowledge and Technology
关键词 单峰性 数组 二分搜索 时间复杂度 空间复杂度 single peak array binary search time complexity space complexity
  • 相关文献

参考文献6

二级参考文献10

  • 1Knuth D E.The Art of Computer Programming,3:Sorting and Searching[M].Addison Wesley,1973.
  • 2Hopcroft A,Ullman.The Design and Analysis of Computer Algorithms[M].Addison Wesley,1974.
  • 3Fussenegger F,Gabow H.Using Comparison Trees to Derive Lower Bounds for Selection Problems[C].Proc.of 17th Found.C.S.,IEEE,1976:178-182.
  • 4Hyafil L.Bounds for Selection[J].SIAM Journal on Computing,1976,5(1):109-114.
  • 5Kozen D C.The Design and Analysis of Algorithms[M].Berlin:Springer-Verlag,1992.
  • 6Cormen T H,Leiserson C E,Rivest R L.Introduction to Algorithms[M].Cambridge,MA:MIT Press,1992.
  • 7Alsuwaiyel M H.Algorithms Design Techniques and Analysis[M].Beijing:Publishing House of Electronics Industry,2003.
  • 8刘少辉,盛秋戬,史忠植.一种新的快速计算正区域的方法[J].计算机研究与发展,2003,40(5):637-642. 被引量:57
  • 9赵军,王国胤,吴中福,唐宏,李华,廖晓锋.一种高效的属性核计算方法[J].小型微型计算机系统,2003,24(11):1950-1953. 被引量:63
  • 10春燕.基于分治策略的快速排序算法探讨[J].西藏大学学报(社会科学版),2003,18(4):75-77. 被引量:4

共引文献38

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部