Marcellino Marcellino, Davin Pratama, Steven Santoso Suntiarko, K. Margi
{"title":"基于时间和内存使用的高级排序算法(快速排序,堆排序,合并排序,引入排序,基数排序)的比较","authors":"Marcellino Marcellino, Davin Pratama, Steven Santoso Suntiarko, K. Margi","doi":"10.1109/iccsai53272.2021.9609715","DOIUrl":null,"url":null,"abstract":"Every algorithm has its own best-case as well as its worst-case scenario, so it is difficult to determine the best sorting algorithm just by its Big-O. Not only that, the amount of memory required also affect the algorithm's efficiency. This research provides an overview for the advanced sorting algorithms, namely Radix Sort, Heap Sort, Quick Sort, Merge Sort, and Introspective Sort, that are used directly in real life work to sort 11K GoodRead's data and compare each algorithm, in terms of time required and memory usage to complete the sort. The test is completed by using visual studio code to write the application and is implemented using python programming language. The program will do the testing for each algorithm up to 5 times in a row and will be recorded. This research show that Introspective sort is the best at time and Heap sort is the best at memory usage.","PeriodicalId":426993,"journal":{"name":"2021 1st International Conference on Computer Science and Artificial Intelligence (ICCSAI)","volume":"22 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-10-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":"{\"title\":\"Comparative of Advanced Sorting Algorithms (Quick Sort, Heap Sort, Merge Sort, Intro Sort, Radix Sort) Based on Time and Memory Usage\",\"authors\":\"Marcellino Marcellino, Davin Pratama, Steven Santoso Suntiarko, K. Margi\",\"doi\":\"10.1109/iccsai53272.2021.9609715\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Every algorithm has its own best-case as well as its worst-case scenario, so it is difficult to determine the best sorting algorithm just by its Big-O. Not only that, the amount of memory required also affect the algorithm's efficiency. This research provides an overview for the advanced sorting algorithms, namely Radix Sort, Heap Sort, Quick Sort, Merge Sort, and Introspective Sort, that are used directly in real life work to sort 11K GoodRead's data and compare each algorithm, in terms of time required and memory usage to complete the sort. The test is completed by using visual studio code to write the application and is implemented using python programming language. The program will do the testing for each algorithm up to 5 times in a row and will be recorded. This research show that Introspective sort is the best at time and Heap sort is the best at memory usage.\",\"PeriodicalId\":426993,\"journal\":{\"name\":\"2021 1st International Conference on Computer Science and Artificial Intelligence (ICCSAI)\",\"volume\":\"22 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-10-28\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"3\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 1st International Conference on Computer Science and Artificial Intelligence (ICCSAI)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/iccsai53272.2021.9609715\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 1st International Conference on Computer Science and Artificial Intelligence (ICCSAI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/iccsai53272.2021.9609715","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Comparative of Advanced Sorting Algorithms (Quick Sort, Heap Sort, Merge Sort, Intro Sort, Radix Sort) Based on Time and Memory Usage
Every algorithm has its own best-case as well as its worst-case scenario, so it is difficult to determine the best sorting algorithm just by its Big-O. Not only that, the amount of memory required also affect the algorithm's efficiency. This research provides an overview for the advanced sorting algorithms, namely Radix Sort, Heap Sort, Quick Sort, Merge Sort, and Introspective Sort, that are used directly in real life work to sort 11K GoodRead's data and compare each algorithm, in terms of time required and memory usage to complete the sort. The test is completed by using visual studio code to write the application and is implemented using python programming language. The program will do the testing for each algorithm up to 5 times in a row and will be recorded. This research show that Introspective sort is the best at time and Heap sort is the best at memory usage.