Mental Model
Split the array into halves, find the best subarray in left, right, and crossing the middle, then pick the best.
Analogy: Imagine cutting a chocolate bar into two parts, finding the tastiest piece in each half, and also checking if the tastiest piece crosses the cut, then choosing the best overall.
Array: [ -2, 1, -3, 4, -1, 2, 1, -5, 4 ] Divide: [ -2, 1, -3, 4, -1 ] | [ 2, 1, -5, 4 ] Find max in left, right, and crossing middle Choose max of these three
