QUIZ: LC_W12
◀ BACK WEEK 12
8 QUESTIONS
Q1 1 / 8 medium
Word Break

Given a string s and a dictionary of words wordDict, return true if s can be segmented into a space-separated sequence of dictionary words.

What are the subproblems you need to solve?