← ALL NOTES
Array

140. Word Break II

The #139 question was "can it be split?" — this one is "give me every valid split, as sentences." Now you can't collapse to a boolean; you have to build and return the actual word sequences.…

Loading…