Mental Model
We want to check if a sentence can be split into valid words from a dictionary. We try breaking the sentence at every position and see if the parts are valid.
Analogy: Imagine you have a long necklace made of beads without spaces. You want to cut it into smaller necklaces where each smaller necklace is a known pattern you recognize.
sentence: w o r d b r e a k positions: 0 1 2 3 4 5 6 7 8 9 10 check cuts at each position ->
