Word Break Flashcards

1
Q

Word Break

Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, determine if s can be segmented into a space-separated sequence of one or more dictionary words. You may assume the dictionary does not contain duplicate words

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly