Skip to main content

Section 22.18 Summary

In this chapter, we covered the following topics:
  • Linear and bisection search methods
  • Bubble, selection, and insertion sort methods
  • The QuickSort algorithm: pivots, partitioning, and recursion (including debugging it, sorting characters, and choosing a smarter pivot with median-of-three)
  • Big-O notation and runtime analysis, including best/average/worst case
  • Sorting records of data (parallel arrays)
  • Sort arrays