Input: s = "catsandog", wordDict = ["cats","dog","sand","and","cat"] Output: false. Constraints: ... bool wordBreak(string s, vector<string>& wordDict) {.
確定! 回上一頁