Showing AQAChange board

Deep Dive: Best and Worst Lists

Test yourself on Insertion Sort with exam style questions, marked instantly.

Flashcards that come back just before you would forget them.

A revision plan that remembers what you know and shows what to do next.

See which topics you have nailed and which need another look.

Quiz yourself on Insertion SortGet your flashcardsBuild my revision planTrack my progress

Deep Dive: Best and Worst Lists

  • Already sorted, such as [1, 2, 3, 4]: every key is already in the right place, so nothing shifts. This is the quickest case.
  • Nearly sorted, such as [2, 3, 4, 1]: only the last key has to move, but it shifts three items.
  • Reverse order, such as [4, 3, 2, 1]: every key shifts past every item in the sorted part. This is the slowest case, with 6 shifts for 4 items.

Make this stick

Signing in gives access to all PrepWise features.

PrepWise is a trading name of A3M Quality Solutions Limited, registered in England and Wales, company number 14959172. Registered office: 202 Stroud Road, Gloucester, GL1 5LA. ICO registration ZC267069.