Mental Model
We want to split a string into the fewest parts so that each part reads the same forwards and backwards.
Analogy: Imagine cutting a ribbon into pieces where each piece is a perfect mirror image of itself. We want to make as few cuts as possible.
s: a b a c d c b a cuts: [0] [1] [2] [3] [4] [5] [6] [7] [8] palindrome check matrix: T F T F F F F T F T F F F F T F T F T F F T F T F F F T F F F F F F F F T F F F F F T F F T F F F T F F F F T F T F T F F F F T
