maiopr.blogg.se

Buku algoritma pemrograman
Buku algoritma pemrograman





From the experiments performed, merge sort algorithm had shown a better performance, particularly in a large number of data (> 10000). To find out how well they performed in sorting out the data, therefore in the last stage the two algorithms were tested to sort random numbers with predetermined amount ranges and the results were compared. In the second stage, the source codes for those algorithms were modified to enable sorting randomly generated numbers with the amount as requested by the user. In the first stage, the two algorithms were implemented in C++ language to sort several numbers typed by a user.

buku algoritma pemrograman

This paper presents the study of implementation and performance in sorting process, using two different algorithms, namely Insertion Sort and Merge Sort.







Buku algoritma pemrograman