less than 1 minute read

How to analyse and implement quadratic and logarithmic sorting methods in Python.

Overview

Sorting methods are classified as:

  • quadratic - O(n2)
  • logarithmic - O (n log n)

Quadratic sorting methods

  • Bubblesort
  • Selection sort
  • Insertion sort
  • Shell sort

Logarithmic sorting methods

  • Quicksort
  • Mergesort

References

Brad Miller & David Ranum (2011). Problem Solving with Algorithms and Data Structures using Python

QED

© Adam Heinz

9 February 2024