Conjunto de energía

Enumera todos los subconjuntos, incluido el vacío; la cantidad crece como 2ⁿ.

Entrada: TextoResultado: Texto

Entrada de texto

Opciones

Ejemplos

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.

Entrada

read,write

Expected answer


read
write
read,write
Delimitador de elemento
,
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.

Entrada

json,csv

Expected answer


csv
json
json,csv
Delimitador de elemento
,
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.

Entrada

red,blue,green

Expected answer


red
blue
green
red,blue
red,green
blue,green
red,blue,green
Delimitador de elemento
,
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.

Entrada

draft,live

Expected answer


live
draft
draft,live
Delimitador de elemento
,
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.

Entrada

yes,no,maybe

Expected answer


no
yes
maybe
yes,no
no,maybe
yes,maybe
yes,no,maybe
Delimitador de elemento
,
Power set

Entrada

1 2 4

Expected answer


4
2
1
2 4
1 4
1 2
1 2 4
Delimitador de elemento

Parámetros

ParámetroValor predeterminadoEntrada y opciones
Delimitador de elemento","Se admiten secuencias de escape como \n, \r y \t

Herramientas relacionadas

Aritmética / Lógica

Referencia de la operación

Ver la documentación técnica original (English)