The loop ends. The list does not.
transcript
A merge that returns a short answer. The loop is right. Something is missing. The answer is two values short. Find the missing step.
Take one, two and three, four. Every value in the first list is smaller. The loop takes one, then two.
Now the first list is empty. The loop condition fails, so the loop ends. Three and four were never taken. Nothing warned us. The answer only looked shorter.
The buggy merge returns one, two. Two values are lost without an error. The right answer has all four values.
After the loop, one list may have values left. Everything left is larger than all taken. So copy what is left of both lists.
Test a case where one list ends first. That single test catches this bug. Every merge needs this check before it ships. Short lists make bugs easy to see. Full breakdown in the lecture.