...

/

DIY: Word Break II

DIY: Word Break II

Problem statement

This challenge is an extension of the previous challenge. Again, you will be given a non-empty string s and a list of strings called subs. The subs list contains a unique set of strings. This time, you have to find a list of all the strings that can be created by breaking down string s into space-separated sequences of one or more strings from the subs list. A ...

Access this course and 1200+ top-rated courses and projects.

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy