Stack sort – a new approach with sorting network and a buffer

S. Muthusundari, V. Devi, S. Sharath Kumar, D. Sudhish Reddy, Kannedari Uday Kiran, Pulimi Hanith Sai Kumar Reddy, Gosani Bhanu Sai Priya, Katragunta Yagna Priya
{"title":"Stack sort – a new approach with sorting network and a buffer","authors":"S. Muthusundari, V. Devi, S. Sharath Kumar, D. Sudhish Reddy, Kannedari Uday Kiran, Pulimi Hanith Sai Kumar Reddy, Gosani Bhanu Sai Priya, Katragunta Yagna Priya","doi":"10.56294/sctconf2024898","DOIUrl":null,"url":null,"abstract":"Knuth introduced the problem of stack sorting. Stack sorting was implemented by t stacks in series. In this paper, we propose a new dimension to stack sorting problem by introducing a stack with sorting network and a petty buffer. Instead of using t stacks in series, it helps to improve the performance by avoiding shuffles the stack. The basic idea behind in this paper is to perform a stack sorting with a single stack, and to achieve greater performance. In this novel approach, 2 bit buffer is compared to stack and insert the element into stack in order to avoid multiple stack. The result shows the time complexity of the proposed algorithm is O (n).","PeriodicalId":270620,"journal":{"name":"Salud, Ciencia y Tecnología - Serie de Conferencias","volume":"109 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-06-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Salud, Ciencia y Tecnología - Serie de Conferencias","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.56294/sctconf2024898","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Knuth introduced the problem of stack sorting. Stack sorting was implemented by t stacks in series. In this paper, we propose a new dimension to stack sorting problem by introducing a stack with sorting network and a petty buffer. Instead of using t stacks in series, it helps to improve the performance by avoiding shuffles the stack. The basic idea behind in this paper is to perform a stack sorting with a single stack, and to achieve greater performance. In this novel approach, 2 bit buffer is compared to stack and insert the element into stack in order to avoid multiple stack. The result shows the time complexity of the proposed algorithm is O (n).
堆栈排序--使用排序网络和缓冲区的新方法
Knuth 引入了堆栈排序问题。堆栈排序由 t 个堆栈串联实现。在本文中,我们通过引入带有排序网络和小缓冲区的堆栈,为堆栈排序问题提出了一个新的维度。与使用 t 个串联堆栈相比,它可以避免对堆栈进行洗牌,从而有助于提高性能。本文的基本思路是用单个堆栈执行堆栈排序,并实现更高的性能。在这种新方法中,将 2 位缓冲区与堆栈相比较,并将元素插入堆栈,以避免多重堆栈。结果表明,所提算法的时间复杂度为 O (n)。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信