範例
List all combinations of read, write
List all combinations of read, write. The input is a small public learning fixture; it contains no private production data.
輸入
read,writeExpected answer
read
write
read,write
- Item 分隔符
,
List all combinations of json, csv
List all combinations of json, csv. The input is a small public learning fixture; it contains no private production data.
輸入
json,csvExpected answer
csv
json
json,csv
- Item 分隔符
,
List all combinations of red, blue, green
List all combinations of red, blue, green. The input is a small public learning fixture; it contains no private production data.
輸入
red,blue,greenExpected answer
red
blue
green
red,blue
red,green
blue,green
red,blue,green
- Item 分隔符
,
List all combinations of draft, live
List all combinations of draft, live. The input is a small public learning fixture; it contains no private production data.
輸入
draft,liveExpected answer
live
draft
draft,live
- Item 分隔符
,
List all combinations of yes, no, maybe
List all combinations of yes, no, maybe. The input is a small public learning fixture; it contains no private production data.
輸入
yes,no,maybeExpected answer
no
yes
maybe
yes,no
no,maybe
yes,maybe
yes,no,maybe
- Item 分隔符
,
Power set
輸入
1 2 4Expected answer
4
2
1
2 4
1 4
1 2
1 2 4
- Item 分隔符
参數
| 参數 | 默認值 | 輸入與選項 |
|---|---|---|
| Item 分隔符 | "," | 支持 \n、\r 和 \t 等跳脫序列 |