{"title":"Analysis on 2-element insertion sort algorithm","authors":"Wang Min","doi":"10.1109/ICCDA.2010.5541165","DOIUrl":null,"url":null,"abstract":"This paper proposes a 2-element insertion sort algorithm, an improved algorithm on the direct insertion sort, gives the algorithm design idea and the description in C. After analyzes comparatively the time complexity and space complexity of the algorithms, the paper summarizes the pros and cons of the 2-element insertion sort algorithm compared with the original one, so as to giving a theoretical basis for the direct insertion sort algorithm optimization, and playing a guiding role in teaching the relevant chapters in “Data Structure” curriculum.","PeriodicalId":190625,"journal":{"name":"2010 International Conference On Computer Design and Applications","volume":"119 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-06-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"15","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2010 International Conference On Computer Design and Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCDA.2010.5541165","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 15
Abstract
This paper proposes a 2-element insertion sort algorithm, an improved algorithm on the direct insertion sort, gives the algorithm design idea and the description in C. After analyzes comparatively the time complexity and space complexity of the algorithms, the paper summarizes the pros and cons of the 2-element insertion sort algorithm compared with the original one, so as to giving a theoretical basis for the direct insertion sort algorithm optimization, and playing a guiding role in teaching the relevant chapters in “Data Structure” curriculum.