Shell sort with expected complexity of O(nlog2n)

IF 1 4区 计算机科学 Q3 COMPUTER SCIENCE, THEORY & METHODS Theoretical Computer Science Pub Date : 2025-02-11 DOI:10.1016/j.tcs.2025.115122
Shengrong Hu
{"title":"Shell sort with expected complexity of O(nlog2n)","authors":"Shengrong Hu","doi":"10.1016/j.tcs.2025.115122","DOIUrl":null,"url":null,"abstract":"<div><div>Theoretical analysis of the Shell sort algorithm has been a longstanding challenge, and there have been no reports of a Shell sort algorithm with a complexity of O(<em>n</em>log<sub>2</sub><em>n</em>). This study investigated the efficiency of the Shell sort algorithm using a specific increment sequence and conducted stability fitting. The fitting results strongly suggest that the number of key comparisons and movements follows the form c<em>n</em>ln(<em>n</em>)+d<em>n</em><sup>λ</sup>ln(<em>n</em>), where λ&lt;1, implying an overall complexity of O(<em>n</em>log<sub>2</sub><em>n</em>).</div></div>","PeriodicalId":49438,"journal":{"name":"Theoretical Computer Science","volume":"1034 ","pages":"Article 115122"},"PeriodicalIF":1.0000,"publicationDate":"2025-02-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Theoretical Computer Science","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S030439752500060X","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 0

Abstract

Theoretical analysis of the Shell sort algorithm has been a longstanding challenge, and there have been no reports of a Shell sort algorithm with a complexity of O(nlog2n). This study investigated the efficiency of the Shell sort algorithm using a specific increment sequence and conducted stability fitting. The fitting results strongly suggest that the number of key comparisons and movements follows the form cnln(n)+dnλln(n), where λ<1, implying an overall complexity of O(nlog2n).
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
壳排序的预期复杂度为 O(nlog2n)
对Shell排序算法的理论分析一直是一个长期存在的挑战,目前还没有关于复杂度为0 (nlog2n)的Shell排序算法的报道。本研究采用特定增量序列考察了Shell排序算法的效率,并进行了稳定性拟合。拟合结果强烈表明,关键的比较和移动次数遵循cnln(n)+dnλln(n)的形式,其中λ<;1,意味着总体复杂度为O(nlog2n)。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Theoretical Computer Science
Theoretical Computer Science 工程技术-计算机:理论方法
CiteScore
2.60
自引率
18.20%
发文量
471
审稿时长
12.6 months
期刊介绍: Theoretical Computer Science is mathematical and abstract in spirit, but it derives its motivation from practical and everyday computation. Its aim is to understand the nature of computation and, as a consequence of this understanding, provide more efficient methodologies. All papers introducing or studying mathematical, logic and formal concepts and methods are welcome, provided that their motivation is clearly drawn from the field of computing.
期刊最新文献
Anonymous adversarial dynamic networks with logarithmic memory and communication The category of H-posets On some 2-binomial coefficients of binary words: geometrical interpretation, partitions of integers, and fair words Parameterized complexity of fair many-to-one matchings Editorial Board
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1