Showing AQAChange board

Deep Dive: Merge Sort Trace

Test yourself on Merge 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 Merge SortGet your flashcardsBuild my revision planTrack my progress

Deep Dive: Merge Sort Trace

Sort [6, 2, 8, 4]:

Divide:

  • [6, 2, 8, 4] splits into [6, 2] and [8, 4]
  • [6, 2] splits into [6] and [2]. [8, 4] splits into [8] and [4].

Merge:

  • Merge [6] and [2]: compare 6 and 2, take 2, then 6. Result [2, 6].
  • Merge [8] and [4]: compare 8 and 4, take 4, then 8. Result [4, 8].
  • Merge [2, 6] and [4, 8]: compare 2 and 4, take 2. Compare 6 and 4, take 4. Compare 6 and 8, take 6. Only 8 is left, take 8.
  • Result: [2, 4, 6, 8]

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.