description
stringlengths 3
46
| input
stringlengths 4
74
| output
stringlengths 1
90
⌀ | types
stringclasses 9
values |
---|---|---|---|
is-mod-k with k=4 | ([3, 5, 15, 16, 13],) | False | list(int) -> bool |
take-k with k=4 | ([7, 7, 12, 5],) | [7, 7, 12, 5] | list(int) -> list(int) |
pow-k with k=5 | ([15, 4, 8, 1, 0, 10],) | [759375, 1024, 32768, 1, 0, 100000] | list(int) -> list(int) |
keep eq 2 | ([1, 3, 2, 3, 4],) | [2] | list(int) -> list(int) |
ensure suffix `997` | ('Marcus +108 Ramthun Rudolf',) | Marcus +108 Ramthun Rudolf997 | list(char) -> list(char) |
Append 2 strings (I) | ('I', '+172') | I+172 | list(char) -> list(char) -> list(char) |
reverse | ([2, 0, 4],) | [4, 0, 2] | list(int) -> list(int) |
sum | ([14, 1],) | 15 | list(int) -> int |
Append 2 strings (IIII) | ('Seamons', 'Lakenya') | SeamonsLakenya | list(char) -> list(char) -> list(char) |
parentheses around a single word (IIIII) | ('York',) | (York) | list(char) -> list(char) |
prepend-k with k=4 | ([13, 12],) | [4, 13, 12] | list(int) -> list(int) |
Take first character and append '.' | ('+189',) | +. | list(char) -> list(char) |
Append two words delimited by ' ' | ('2', '+151') | 2 +151 | list(char) -> list(char) -> list(char) |
bool-identify-geq-k with k=0 | ([0, 0, 0],) | [True, True, True] | list(int) -> list(bool) |
Extract word delimited by ')' - ',' | ('244)Karrie,Lashanda)Kimberley',) | Karrie | list(char) -> list(char) |
slice-k-n with k=4 and n=4 | ([6, 7, 15, 4, 8, 9, 13, 1, 7, 6, 1, 2, 7, 10, 14, 8],) | [4, 8, 9, 13] | list(int) -> list(int) |
has-k with k=2 | ([2, 2, 2, 2, 2, 2],) | True | list(int) -> bool |
repeat-k with k=2 | ([3, 12, 15, 12],) | [3, 12, 15, 12, 3, 12, 15, 12] | list(int) -> list(int) |
parentheses around word delimited by ',' & ',' | ('Bess,994,Montiel',) | Bess,(994),Montiel | list(char) -> list(char) |
Extract word delimited by ')' - ',' | ('+104)+58,Ramthun,Bobo',) | +58 | list(char) -> list(char) |
repeat-k with k=2 | ([15],) | [15, 15] | list(int) -> list(int) |
nth (n=-1) word delimited by '-' | ('+172-University-College',) | College | list(char) -> list(char) |
replace-all-with-index-k with k=1 | ([0, 15],) | [0, 0] | list(int) -> list(int) |
caesar-cipher-k-modulo-n with k=3 and n=5 | ([2],) | [0] | list(int) -> list(int) |
bool-identify-k with k=5 | ([0, 1, 2, 14, 3, 9, 12],) | [False, False, False, False, False, False, False] | list(int) -> list(bool) |
dup | ([1],) | [1, 1] | list(int) -> list(int) |
keep primes | ([0, 4, 3, 29, 23, 0, 0],) | [3, 29, 23] | list(int) -> list(int) |
remove eq 2 | ([4, 3, 6, 3, 6],) | [4, 3, 6, 3, 6] | list(int) -> list(int) |
parentheses around word delimited by ',' & ' ' | (',551 Cencici 68',) | ,(551) Cencici 68 | list(char) -> list(char) |
caesar-cipher-k-modulo-n with k=2 and n=3 | ([2, 2, 1, 1, 2, 1, 0],) | [1, 1, 0, 0, 1, 0, 2] | list(int) -> list(int) |
First letters of words (III) | ('Trinidad 500 862',) | T58 | list(char) -> list(char) |
ensure suffix `Scalia` | ('Angeles T N',) | Angeles T NScalia | list(char) -> list(char) |
caesar-cipher-k-modulo-n with k=1 and n=3 | ([1, 2, 1],) | [2, 0, 2] | list(int) -> list(int) |
is-odds | ([12],) | False | list(int) -> bool |
evens | ([7, 0, 12, 7],) | [0, 12] | list(int) -> list(int) |
count-k with k=1 | ([1, 1, 1],) | 3 | list(int) -> int |
rotate-k with k=5 | ([4, 12, 6, 13, 11, 6, 1, 3, 4],) | [11, 6, 1, 3, 4, 4, 12, 6, 13] | list(int) -> list(int) |
mult-k with k=5 | ([12, 7, 3, 10, 14],) | [60, 35, 15, 50, 70] | list(int) -> list(int) |
parentheses around a single word (IIIII) | ('68',) | (68) | list(char) -> list(char) |
bool-identify-is-mod-k with k=4 | ([8],) | [True] | list(int) -> list(bool) |
Extract word delimited by '(' - '(' | ('Andria(Honda125(+75(Malissa',) | Honda125 | list(char) -> list(char) |
Abbreviate words separated by ')' | ('83)56',) | 8.5. | list(char) -> list(char) |
drop-k with k=3 | ([14, 16, 4, 13, 11, 6, 13, 16, 1, 5],) | [13, 11, 6, 13, 16, 1, 5] | list(int) -> list(int) |
nth (n=1) word delimited by '-' | ('Launa-Hornak',) | Hornak | list(char) -> list(char) |
nth (n=-1) word delimited by '-' | ('+172-University-College',) | College | list(char) -> list(char) |
Take first 3 characters | ('766',) | 766 | list(char) -> list(char) |
Append two words delimited by '. ' | ('Haven', '575') | Haven. 575 | list(char) -> list(char) -> list(char) |
caesar-cipher-k-modulo-n with k=1 and n=5 | ([],) | [] | list(int) -> list(int) |
bool-identify-geq-k with k=5 | ([2, 15, 10, 15, 0],) | [False, True, True, True, False] | list(int) -> list(bool) |
mult-k with k=0 | ([8],) | [0] | list(int) -> list(int) |
Append 2 strings (II) | ('+163', '+141') | +163+141 | list(char) -> list(char) -> list(char) |
repeat | ([1, 3],) | [3] | list(int) -> list(int) |
Abbreviate separate words (II) | ('Hayley', 'Ferrari') | H.F. | list(char) -> list(char) -> list(char) |
mult-k with k=3 | ([2, 6, 10, 10, 8, 15, 16],) | [6, 18, 30, 30, 24, 45, 48] | list(int) -> list(int) |
Replace '(' w/ '.' | ('C(40',) | C.40 | list(char) -> list(char) |
append-index-k with k=2 | ([5, 1, 1, 13, 5, 0, 1],) | [5, 1, 1, 13, 5, 0, 1, 1] | list(int) -> list(int) |
rotate-k with k=5 | ([6, 0, 7, 8, 15, 14, 0, 8, 16, 15, 9, 3, 7, 3, 9],) | [9, 3, 7, 3, 9, 6, 0, 7, 8, 15, 14, 0, 8, 16, 15] | list(int) -> list(int) |
drop first word delimited by '.' | ('Acura.Urbana',) | Urbana | list(char) -> list(char) |
bool-identify-geq-k with k=2 | ([0, 10, 0, 0],) | [False, True, False, False] | list(int) -> list(bool) |
kth-largest with k=2 | ([5, 16, 1, 6, 12, 5, 6, 10, 10],) | 12 | list(int) -> int |
Take first 5 characters | ('Ducati250',) | Ducat | list(char) -> list(char) |
replace-all-with-index-k with k=2 | ([4, 14, 15, 1, 4, 5, 12],) | [14, 14, 14, 14, 14, 14, 14] | list(int) -> list(int) |
Append 2 strings (II) | ('+163', '+141') | +163+141 | list(char) -> list(char) -> list(char) |
parentheses around second word | ('O Jeanice',) | (Jeanice) | list(char) -> list(char) |
Take first 3 characters | ('Vena',) | Ven | list(char) -> list(char) |
Append two words delimited by '..' | ('Ferrari', 'Angeles') | Ferrari..Angeles | list(char) -> list(char) -> list(char) |
drop-k with k=4 | ([1, 13, 0, 6, 13],) | [13] | list(int) -> list(int) |
keep gt 3 | ([1, 5, 6, 6, 0],) | [5, 6, 6] | list(int) -> list(int) |
nth (n=-1) word delimited by ',' | ('+194,Scalia,Montiel,Ghoston',) | Ghoston | list(char) -> list(char) |
Append two words delimited by ' ' | ('Acura', 'Vena') | Acura Vena | list(char) -> list(char) -> list(char) |
append-index-k with k=3 | ([14, 2, 10, 6, 7, 9, 14, 2],) | [14, 2, 10, 6, 7, 9, 14, 2, 10] | list(int) -> list(int) |
Append 2 strings (I) | ('Richert', 'NY') | RichertNY | list(char) -> list(char) -> list(char) |
take-k with k=4 | ([14, 12, 6, 14, 16, 4],) | [14, 12, 6, 14] | list(int) -> list(int) |
bool-identify-geq-k with k=3 | ([4, 9],) | [True, True] | list(int) -> list(bool) |
parentheses around word delimited by ' ' & ' ' | (' California +104,Teddy',) | (California) +104,Teddy | list(char) -> list(char) |
is-mod-k with k=5 | ([65, 35, 5, 35, 5, 80],) | True | list(int) -> bool |
nth (n=0) word delimited by ',' | ('R,Miah,Arbor',) | R | list(char) -> list(char) |
nth (n=-1) word delimited by ',' | ('468,376',) | 376 | list(char) -> list(char) |
prepend-index-k with k=3 | ([11, 10, 3, 14, 0, 5],) | [3, 11, 10, 3, 14, 0, 5] | list(int) -> list(int) |
append-index-k with k=3 | ([15, 0, 13, 10, 7, 1, 14, 5, 10, 10],) | [15, 0, 13, 10, 7, 1, 14, 5, 10, 10, 13] | list(int) -> list(int) |
Replace '(' w/ ' ' | ('377(209(+118',) | 377 209 +118 | list(char) -> list(char) |
Prepend '086' to first word | ('Ducati Penn',) | 086Ducati | list(char) -> list(char) |
remove eq 2 | ([1, 5, 4, 1, 5],) | [1, 5, 4, 1, 5] | list(int) -> list(int) |
Prepend 'Jani' | ('Honda550',) | JaniHonda550 | list(char) -> list(char) |
nth (n=1) word delimited by '(' | ('+188(45(+9',) | 45 | list(char) -> list(char) |
append-index-k with k=3 | ([3, 13, 5, 7, 4, 3, 3],) | [3, 13, 5, 7, 4, 3, 3, 5] | list(int) -> list(int) |
bool-identify-k with k=5 | ([1, 6],) | [False, False] | list(int) -> list(bool) |
nth (n=1) word delimited by ')' | ('Partida)FreeHafer)+130)D',) | FreeHafer | list(char) -> list(char) |
Append 2 strings (II) | ('I', 'P') | IP | list(char) -> list(char) -> list(char) |
mult-k with k=4 | ([],) | [] | list(int) -> list(int) |
Append '+138' | ('Cornell',) | Cornell+138 | list(char) -> list(char) |
parentheses around a single word (III) | ('Park',) | (Park) | list(char) -> list(char) |
Append two words delimited by ',' | ('2', 'Garrard') | 2,Garrard | list(char) -> list(char) -> list(char) |
add-k with k=2 | ([11, 6, 0, 3],) | [13, 8, 2, 5] | list(int) -> list(int) |
Prepend 'UCLA' | ('MI',) | UCLAMI | list(char) -> list(char) |
product | ([15, 7],) | 105 | list(int) -> int |
rotate-k with k=2 | ([14, 12, 16, 4, 3, 7, 13, 13, 0, 6, 4, 12, 10, 10, 0, 5, 7],) | [5, 7, 14, 12, 16, 4, 3, 7, 13, 13, 0, 6, 4, 12, 10, 10, 0] | list(int) -> list(int) |
head | ([2],) | 2 | list(int) -> int |
keep eq 1 | ([1, 2, 4, 5, 4],) | [1] | list(int) -> list(int) |
mult-k with k=2 | ([14],) | [28] | list(int) -> list(int) |
Subsets and Splits