Mental Model
Split the array into two halves, find the max subarray in the left half, right half, and crossing the middle, then pick the best.
Analogy: Imagine you have a long road with some good and bad spots. You want to find the best continuous stretch. You check the left side, the right side, and the middle crossing point, then choose the best stretch overall.
Array: [ -2, 1, -3, 4, -1, 2, 1, -5, 4 ] Divide: [ -2, 1, -3, 4 ] | [ -1, 2, 1, -5, 4 ] Middle: ↑ Max subarray could be in left, right, or crossing middle.
