The middle counts.
transcript
You split the days in two. You solve each half. Is the best of the two halves the answer? Not always.
The days are five, minus one and five. Split them into five, and minus one with five. The best run on the left is five. The best run on the right is five too.
Taking the better half gives five. But all three days together make nine. The best run crosses the middle. The halves never saw it.
The combine step must look across. Take the best suffix of the left half. Take the best prefix of the right half. Join them to get nine.
The left suffix is five. The right prefix, minus one then five, is four. Five plus four is nine.
Every call takes the best of three. The left best, the right best, and the crossing run. Leave one out, and the answer can be wrong.
Every split can cut an answer in two. Always ask what crosses the split. Full breakdown in the lecture.