Topic > A Comparison of Sorting Algorithms - 1405

A Comparison of Sorting Algorithms and Their Efficiency Introduction Sorting algorithms are used every day to perform different tasks. The importance of sorting algorithms is often not understood. This report explores four sorting algorithms, namely insertion sort, double insertion sort, recursive insertion sort and advanced bucket sort. The experimental work done on the four sorting algorithms mentioned above is discussed in the report. Additionally, the report describes the processes used by each algorithm to sort a list of objects, the strengths and weaknesses of each algorithm, and the efficiency of each algorithm. This report is relevant because sorting algorithms are used in many programs, and it is important to know which sorting algorithm to use in a given situation. Additionally, as Computer Science degree students it is important to understand sorting algorithms as they may be required in the work environment. Related WorkBasic Sort InsertionThe following section examines basic Sort insertion. This sorting algorithm sorts a list of items by inserting an item into its correct position in the list until it is sorted. Let's see it in detail. The basic idea of ​​insertSort is to divide the list into two parts; an ordered portion and an unordered portion. At each step of the algorithm, starting from the first element of the list, an element is moved from the unordered portion to the ordered portion, until the list is finally sorted. Sedgewick and Wayne 2011 state that when implementing the algorithm in a computer, before inserting the current element into the empty position, it is necessary to create space by moving the larger elements one position to the right to insert the current element into its position empty. .... half of the article ......conclusion, the experiment and report successfully described the performance of sorting algorithms, how they work and also provoked critical thinking when contradictions were encountered.Works CitedBruno R. Preiss, P., 1997. Example of bucket sorting. http://www.brpreiss.com/books/opus4/html/page74.html.Carrano, FM, 2012, 2007, 2003. Data structures and abstractions with Java. 3rd ed. New Jersey: Prentice Hall, Inc..Chavey, D.P., 2010. Dual Sorting: Testing Their Sorting Capabilities. Conference and Symposium Program, Volume 1, pp. 382-384. Herschberg, D.S., 1978. Fast parallel sorting algorithms. Communications of the ACM Journal, 21(8).Sedgewick, R. a. W., 2011. Algorithms. 4th ed. New Jersy: Pearson Education.Stephens, R., 2013. Essential Algorithms A Practical Approach to Computer Algorithms. 1st ed. Indiana: John Wiley & Sons, Inc.