We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db52232 commit 3f73fe6Copy full SHA for 3f73fe6
Algorithms/0916.word-subsets/word-subsets_test.go
@@ -9,10 +9,40 @@ import (
9
10
// tcs is testcase slice
11
var tcs = []struct {
12
- A, B []int
+ A, B []string
13
ans []string
14
}{
15
16
+ {
17
+ []string{"amazon", "apple", "facebook", "google", "leetcode"},
18
+ []string{"e", "o"},
19
+ []string{"facebook", "google", "leetcode"},
20
+ },
21
+
22
23
24
+ []string{"l", "e"},
25
+ []string{"apple", "google", "leetcode"},
26
27
28
29
30
+ []string{"e", "oo"},
31
+ []string{"facebook", "google"},
32
33
34
35
36
+ []string{"lo", "eo"},
37
+ []string{"google", "leetcode"},
38
39
40
41
42
+ []string{"ec", "oc", "ceo"},
43
+ []string{"facebook", "leetcode"},
44
45
46
// 可以有多个 testcase
47
}
48
0 commit comments