Insertion Sort

  • best: N, 1

  • average, worst: N^2, 1

  • swap last

  • swap every time

  • simple

Last updated