DIY: Word Break II
Solve the interview question "Word Break II" yourself in this lesson.
We'll cover the following...
Problem statement
This challenge is an extension of the previous challenge. Again, you will be given a non-empty string s
and an array of strings called subs
. The subs
array contains a unique set of strings. This time, you have to find an array of all the strings that ...