{"title":"基于块分区的冒泡和插入排序算法的改进","authors":"Tithi Paul","doi":"10.1109/ICCIT57492.2022.10055404","DOIUrl":null,"url":null,"abstract":"A list of components can be arranged in a certain order using a sorting algorithm, which is a fundamental concept in computer science. The temporal complexity of the two fundamental and widely used sorting algorithms, Bubble sort and Insertion sort is $\\mathcal{O}\\left( {{N^2}} \\right)$, where N is the total number of items. When it comes to sorting a specific amount of items, it is superior. However, by adding more parts to its quadratic complexity, it loses efficiency. Because of this, it is less frequently employed in computer science’s practical and real-world applications, despite being widely utilized as a subroutine in other areas. Numerous extension techniques for the insertion sort and bubble sort algorithms have been put out in the literature, but none of them tries to combine the two to create a combination algorithm like ours. The bubble and insertion sort method was modified in this study, and its computational complexity was estimated to be $\\mathcal{O}(N\\sqrt N )$. The technique begins by dividing the input array into a few pieces, sorting each of the blocks using a modified bubble sort, and then merging all of the blocks together using a modified insertion sort. The suggested bubble and insertion sort outperform traditional bubble and insertion sorting as well as all other sorting algorithms with a computational complexity of $\\mathcal{O}\\left( {{N^2}} \\right)$.","PeriodicalId":255498,"journal":{"name":"2022 25th International Conference on Computer and Information Technology (ICCIT)","volume":"82 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-12-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Enhancement of Bubble and Insertion Sort Algorithm Using Block Partitioning\",\"authors\":\"Tithi Paul\",\"doi\":\"10.1109/ICCIT57492.2022.10055404\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"A list of components can be arranged in a certain order using a sorting algorithm, which is a fundamental concept in computer science. The temporal complexity of the two fundamental and widely used sorting algorithms, Bubble sort and Insertion sort is $\\\\mathcal{O}\\\\left( {{N^2}} \\\\right)$, where N is the total number of items. When it comes to sorting a specific amount of items, it is superior. However, by adding more parts to its quadratic complexity, it loses efficiency. Because of this, it is less frequently employed in computer science’s practical and real-world applications, despite being widely utilized as a subroutine in other areas. Numerous extension techniques for the insertion sort and bubble sort algorithms have been put out in the literature, but none of them tries to combine the two to create a combination algorithm like ours. The bubble and insertion sort method was modified in this study, and its computational complexity was estimated to be $\\\\mathcal{O}(N\\\\sqrt N )$. The technique begins by dividing the input array into a few pieces, sorting each of the blocks using a modified bubble sort, and then merging all of the blocks together using a modified insertion sort. The suggested bubble and insertion sort outperform traditional bubble and insertion sorting as well as all other sorting algorithms with a computational complexity of $\\\\mathcal{O}\\\\left( {{N^2}} \\\\right)$.\",\"PeriodicalId\":255498,\"journal\":{\"name\":\"2022 25th International Conference on Computer and Information Technology (ICCIT)\",\"volume\":\"82 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-12-17\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 25th International Conference on Computer and Information Technology (ICCIT)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICCIT57492.2022.10055404\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 25th International Conference on Computer and Information Technology (ICCIT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCIT57492.2022.10055404","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
摘要
一个组件列表可以使用排序算法按照一定的顺序排列,这是计算机科学中的一个基本概念。冒泡排序(Bubble sort)和插入排序(insert sort)这两种基本且广泛使用的排序算法的时间复杂度为$\mathcal{O}\left( {{N^2}} \right)$,其中N为项目总数。当涉及到分类特定数量的物品时,它是优越的。然而,通过增加二次复杂度的部分,它失去了效率。正因为如此,尽管在其他领域作为子例程被广泛使用,但它在计算机科学的实际和实际应用中较少使用。文献中已经提出了许多插入排序和冒泡排序算法的扩展技术,但没有一个试图将两者结合起来创建像我们这样的组合算法。本文对气泡插入排序方法进行了改进,估计其计算复杂度为$\mathcal{O}(N\sqrt N )$。该技术首先将输入数组分成几个部分,使用修改后的冒泡排序对每个块进行排序,然后使用修改后的插入排序将所有块合并在一起。建议的气泡和插入排序优于传统的气泡和插入排序以及所有其他排序算法,计算复杂度为$\mathcal{O}\left( {{N^2}} \right)$。
Enhancement of Bubble and Insertion Sort Algorithm Using Block Partitioning
A list of components can be arranged in a certain order using a sorting algorithm, which is a fundamental concept in computer science. The temporal complexity of the two fundamental and widely used sorting algorithms, Bubble sort and Insertion sort is $\mathcal{O}\left( {{N^2}} \right)$, where N is the total number of items. When it comes to sorting a specific amount of items, it is superior. However, by adding more parts to its quadratic complexity, it loses efficiency. Because of this, it is less frequently employed in computer science’s practical and real-world applications, despite being widely utilized as a subroutine in other areas. Numerous extension techniques for the insertion sort and bubble sort algorithms have been put out in the literature, but none of them tries to combine the two to create a combination algorithm like ours. The bubble and insertion sort method was modified in this study, and its computational complexity was estimated to be $\mathcal{O}(N\sqrt N )$. The technique begins by dividing the input array into a few pieces, sorting each of the blocks using a modified bubble sort, and then merging all of the blocks together using a modified insertion sort. The suggested bubble and insertion sort outperform traditional bubble and insertion sorting as well as all other sorting algorithms with a computational complexity of $\mathcal{O}\left( {{N^2}} \right)$.