Showing AQAChange board

Deep Dive: Merging Two Lists

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: Merging Two Lists

Merge [2, 5] with [1, 4]:

CompareTakeMerged list so far
2 and 11[1]
2 and 42[1, 2]
5 and 44[1, 2, 4]
Only 5 left5[1, 2, 4, 5]

For an 8 item list, the splits give 2 lists of 4, then 4 lists of 2, then 8 lists of 1. That is three divisions.

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.