Mental Model
Split the array into two halves, find the max subarray in the left, right, and crossing the middle, then pick the best.
Analogy: Like dividing a chocolate bar into two parts, finding the best piece on the left, right, and the middle where they meet, then choosing the tastiest piece overall.
Array: [ -2, 1, -3, 4, -1, 2, 1, -5, 4 ]
Split: [ -2, 1, -3, 4 ] | [ -1, 2, 1, -5, 4 ]
↑ middle
We find max left, max right, and max crossing middle.