Analysis of Algorithms : An Active Learning Approach

(Ron) #1

Chapter 3 Sorting Algorithms


PREREQUISITES


Before beginning this chapter, you should be able to


  • Read and create iterative and recursive algorithms

  • Use summations and probabilities presented in Chapter 1

  • Solve recurrence relations

  • Describe growth rates and order


GOALS


At the end of this chapter, you should be able to


  • Explain insertion sort and its analysis

  • Explain bubble sort and its analysis

  • Explain shellsort and its analysis

  • Explain radix sort and its analysis

  • Trace the heapsort and FixHeap algorithms

  • Explain the analysis of heapsort

  • Explain merge sort and its analysis

  • Explain quicksort and its analysis

  • Explain external polyphase merge sort and its analysis


STUDY SUGGESTIONS


As you are working through the chapter, you should rework the examples to
be sure you understand them. It will be especially helpful to trace insertion
Free download pdf