Ternary search algorithm: Improvement of binary search

Computing for Sustainable Global Development(2015)

引用 24|浏览13
暂无评分
摘要
The empirical calculation is displayed in this paper for searching which is an improvement of binary search. On the off chance that we don't have any data on how the numbers are sorted out in the array, we need to consecutively analyze every component of the array; it is called as linear search with time complexity O(n).However, if the elements of the array are sorted, given us a chance to say in ascending order, and we wish to locate position of a number target K in the array, we require not make a successive search over the complete array. Therefore we propose the method known as ternary search in order to quickly search the required element. We have additionally turned out to be more viable and effective calculation as contrasted with the binary search as the time complexity of the new proposed calculation lessens to O (log3n).
更多
查看译文
关键词
computational complexity,search problems,sorting,binary search improvement,linear search,ternary search algorithm,time complexity,binary search,complexity,empirical,ternary search,algorithm design and analysis,estimation
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要