Implementation of Selection Sort Algorithm in Various Programming Languages
Journal: International Journal of Advanced Trends in Computer Science and Engineering (IJATCSE) (Vol.10, No. 3)Publication Date: 2021-06-11
Authors : Arisha Naz Haque Nawaz Abdullah Maitlo Syed Muhammad Hassan;
Page : 2371-2377
Keywords : Selection Sort; Time Complexity; Algorithm Implementation; C/C++; Python; Rust; Comparison.;
Abstract
Sorting algorithm deals with the arrangement of alphanumeric data in static order. It plays an important role in he field of data science. Selection sort is one of the simplest and efficient algorithms which can be applied for the huge number of elements it works like by giving list of unsorted information, the calculation which breaks into two partitions. One section has all the sorted information and another section has all the staying unsorted information. The calculation rehashes itself, by finding the smallest component inside the rundown of unsorted information and swapping it with the furthest left component, in the end setting everything straight information. This research presents the implementation of selection sort using C/C++, Python, and Rust and measured the time complexity. After experiment, we have collected the results in terms of running time, and analyzed the outcomes. It was observed that python language has very small amount of line of code, and it also consumes less storage and fast running time then other two languages.
Other Latest Articles
- Medicinal Value of Some Bioactive Compounds from Three Species of Striga Grass (S. hermontheca, S. aciatica and S. gesnerioides) Extractions
- Synthesis of New Polyurethanes Based on 2,3-Dihidro-1,4-Phthalazinedione
- Investigation of Amino Chalcone Derivatives as Anti-Proliferative Agents against MCF-7 Breast Cancer Cell Lines-DFT, Molecular Docking and Pharmacokinetics Studies
- Action of 4-[(Z)-(4-Methoxybenzylidene)amino]-5-methyl-4H-1,2,4-triazole-3-thiol as Chemosensor for the Trace Amount of Copper in Aqueous Media
- Effective Removal of Methyl Green from Aqueous Solution Using Epichlorohydrine Cross-Linked Chitosan
Last modified: 2021-08-05 11:38:02