Insertion Sort

Cards (2)

  • Steps for an Insertion sort:
    • One item at a time
    • Moved into correct position
    • Until all items in list checked
  • Code for insertion sort: