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 progressDeep Dive: The Two Stages
- Divide: split the list into two halves. Keep splitting each half until every list holds one item. A list of one item is already sorted, so splitting stops.
- Merge: combine two sorted lists into one sorted list. Compare the front items of both lists, take the smaller one, and repeat until both lists are empty. Keep merging until one list is left.
Merge sort uses divide and conquer, which means breaking a big problem into smaller ones that are easier to solve.
Make this stick
Signing in gives access to all PrepWise features.