feat(content): hidden test cases
This commit is contained in:
@@ -27,6 +27,12 @@ test_cases:
|
||||
expected: true
|
||||
- input: { s: "cars", word_dict: ["car", "ca", "rs"] }
|
||||
expected: true
|
||||
- input: { s: "abcd", word_dict: ["a", "abc", "b", "cd"] }
|
||||
expected: true
|
||||
- input: { s: "bb", word_dict: ["a", "b", "bbb", "bbbb"] }
|
||||
expected: true
|
||||
- input: { s: "goalspecial", word_dict: ["go", "goal", "goals", "special"] }
|
||||
expected: true
|
||||
|
||||
description: |
|
||||
Given a string `s` and a dictionary of strings `wordDict`, return `true` if `s` can be segmented into a space-separated sequence of one or more dictionary words.
|
||||
|
||||
Reference in New Issue
Block a user