Concept Flow - Word Break Problem
Start with input string
Check prefixes in dictionary
If prefix found
Mark prefix end
Recursively check suffix
If suffix breaks fully
Return True
If no prefix leads to full break
Return False
The algorithm tries to split the string into dictionary words by checking prefixes and recursively verifying suffixes until the whole string is segmented or no valid segmentation is found.