Algorithms you can seeLesson 011 min
How does merge sort split a list and join it back?
Merge sort cuts a list in half, again and again, until every piece holds one number, which is already in order. Then the pieces are joined back in pairs. Each join looks at the front item of both sides and takes the smaller one, so the output stays in order. For the seven-number example the program makes thirteen comparisons.
Remember
Split until each piece is trivial, then merge the pieces in order.
