description
stringlengths 3
46
| input
stringlengths 4
74
| output
stringlengths 1
90
⌀ | types
stringclasses 9
values |
---|---|---|---|
add-k with k=4 | ([],) | [] | list(int) -> list(int) |
Abbreviate separate words (I) | ('Irwin', 'Spell') | I.S. | list(char) -> list(char) -> list(char) |
take-k with k=1 | ([1, 16, 3, 16, 0],) | [1] | list(int) -> list(int) |
Take first character and append '(' | ('Melodi',) | M( | list(char) -> list(char) |
nth (n=1) word delimited by '-' | ('Kotas-028',) | 028 | list(char) -> list(char) |
kth-smallest with k=5 | ([6, 3, 5, 7, 6, 5, 11],) | 6 | list(int) -> int |
append-index-k with k=3 | ([0, 13, 12, 12],) | [0, 13, 12, 12, 12] | list(int) -> list(int) |
mult-k with k=0 | ([7, 11, 13, 15, 16, 16],) | [0, 0, 0, 0, 0, 0] | list(int) -> list(int) |
slice-k-n with k=4 and n=2 | ([8, 11, 3, 5, 1, 14, 8, 3, 14, 11, 16, 1, 7],) | [5, 1] | list(int) -> list(int) |
nth (n=0) word delimited by '.' | ('Bradford.971.+180',) | Bradford | list(char) -> list(char) |
append-k with k=3 | ([3, 3],) | [3, 3, 3] | list(int) -> list(int) |
bool-identify-k with k=2 | ([2, 2],) | [True, True] | list(int) -> list(bool) |
ensure suffix `Andria` | ('Hornak 575 MA JacquilineAndria',) | Hornak 575 MA JacquilineAndria | list(char) -> list(char) |
slice-k-n with k=4 and n=4 | ([12, 0, 1, 11, 12, 9, 15, 10, 1, 5, 11, 16, 9],) | [11, 12, 9, 15] | list(int) -> list(int) |
prepend-index-k with k=4 | ([10, 12, 16, 3, 6, 16, 5, 3, 16, 14, 7],) | [3, 10, 12, 16, 3, 6, 16, 5, 3, 16, 14, 7] | list(int) -> list(int) |
Prepend 'Spell' | ('+197',) | Spell+197 | list(char) -> list(char) |
replace-all-with-index-k with k=4 | ([4, 14, 0, 9, 15, 3, 7, 5, 14, 7],) | [9, 9, 9, 9, 9, 9, 9, 9, 9, 9] | list(int) -> list(int) |
keep gt 2 | ([1, 0, 1, 4, 0],) | [4] | list(int) -> list(int) |
nth (n=0) word delimited by ',' | ('MA,B,+95',) | MA | list(char) -> list(char) |
nth (n=0) word delimited by ')' | ('E)844',) | E | list(char) -> list(char) |
repeat-k with k=5 | ([14, 13, 13, 4, 9],) | [14, 13, 13, 4, 9, 14, 13, 13, 4, 9, 14, 13, 13, 4, 9, 14, 13, 13, 4, 9, 14, 13, 13, 4, 9] | list(int) -> list(int) |
Drop last 5 characters | ('Cencici',) | Ce | list(char) -> list(char) |
prepend-index-k with k=1 | ([6, 7, 16, 16, 6],) | [6, 6, 7, 16, 16, 6] | list(int) -> list(int) |
drop first word delimited by '-' | ('62-Temple',) | Temple | list(char) -> list(char) |
Append 'Dermody' | ('29',) | 29Dermody | list(char) -> list(char) |
remove empty lists | ([[], [True, False], [False], [False, True]],) | [[True, False], [False], [False, True]] | list(list(bool)) -> list(list(bool)) |
slice-k-n with k=5 and n=4 | ([12, 4, 14, 10, 8, 12, 12, 9, 1, 0, 4, 0, 15, 13, 1, 11],) | [8, 12, 12, 9] | list(int) -> list(int) |
Append 'Cornell' | ('IL',) | ILCornell | list(char) -> list(char) |
nth (n=-1) word delimited by ')' | ('539)027)42',) | 42 | list(char) -> list(char) |
Extract word delimited by '-' - ')' | ('155-Reily)Haven)+132',) | Reily | list(char) -> list(char) |
Replace '(' w/ ' ' | ('CT(Heintz(Cornell(Phillip',) | CT Heintz Cornell Phillip | list(char) -> list(char) |
nth (n=1) word delimited by '-' | ('+155-Covelli-Constable-405',) | Covelli | list(char) -> list(char) |
Abbreviate words separated by '-' | ('941-162',) | 9.1. | list(char) -> list(char) |
count-k with k=2 | ([2],) | 1 | list(int) -> int |
Take first 5 characters | ('Gregori',) | Grego | list(char) -> list(char) |
keep eq 1 | ([5, 0, 6, 6, 0],) | [] | list(int) -> list(int) |
caesar-cipher-k-modulo-n with k=1 and n=2 | ([1],) | [0] | list(int) -> list(int) |
drop first word delimited by ',' | ('+6,Micha,167',) | Micha,167 | list(char) -> list(char) |
nth (n=1) word delimited by ' ' | ('29 Ferrari250',) | Ferrari250 | list(char) -> list(char) |
replace-all-with-index-k with k=3 | ([2, 8, 0, 11, 14, 13, 12, 10, 1, 15],) | [0, 0, 0, 0, 0, 0, 0, 0, 0, 0] | list(int) -> list(int) |
Take first character and append ')' | ('414',) | 4) | list(char) -> list(char) |
parentheses around a single word (IIII) | ('986',) | (986) | list(char) -> list(char) |
Drop last 1 characters | ('+130',) | +13 | list(char) -> list(char) |
Extract word delimited by '-' - ')' | ('NY-Philadelphia)Ferrari-PA',) | Philadelphia | list(char) -> list(char) |
append-index-k with k=5 | ([13, 0, 16, 8, 9, 10, 16, 7],) | [13, 0, 16, 8, 9, 10, 16, 7, 9] | list(int) -> list(int) |
rotate-k with k=3 | ([6, 7, 6, 12, 4, 8, 16, 4, 8, 15, 5, 8, 12, 7, 9],) | [12, 7, 9, 6, 7, 6, 12, 4, 8, 16, 4, 8, 15, 5, 8] | list(int) -> list(int) |
prepend-k with k=3 | ([13, 14, 10, 10, 14, 14],) | [3, 13, 14, 10, 10, 14, 14] | list(int) -> list(int) |
slice-k-n with k=4 and n=5 | ([13, 11, 11, 9, 11, 2, 7, 2, 7, 2, 0, 12, 10, 4, 14, 11, 15],) | [9, 11, 2, 7, 2] | list(int) -> list(int) |
Abbreviate separate words (IIIII) | ('21', '169') | 2.1. | list(char) -> list(char) -> list(char) |
keep-mod-k with k=3 | ([0, 0, 15, 4, 16],) | [0, 0, 15] | list(int) -> list(int) |
Take first character and append '.' | ('+46',) | +. | list(char) -> list(char) |
Replace ',' w/ '(' | ('066,+106,Bobo,200',) | 066(+106(Bobo(200 | list(char) -> list(char) |
parentheses around word delimited by '-' & '.' | ('-Spell.Rowden Arbor',) | -(Spell).Rowden Arbor | list(char) -> list(char) |
nth (n=0) word delimited by '-' | ('Olague-Bradford-+115-N',) | Olague | list(char) -> list(char) |
keep eq 3 | ([0, 3, 5, 3, 5],) | [3, 3] | list(int) -> list(int) |
Replace '.' w/ ')' | ('83.Ramthun',) | 83)Ramthun | list(char) -> list(char) |
prepend-k with k=2 | ([],) | [2] | list(int) -> list(int) |
Take first 4 characters | ('Ducati250',) | Duca | list(char) -> list(char) |
nth (n=0) word delimited by '-' | ('64-836-197-Michigan',) | 64 | list(char) -> list(char) |
prepend-k with k=1 | ([5, 10, 10, 14, 10, 8, 6],) | [1, 5, 10, 10, 14, 10, 8, 6] | list(int) -> list(int) |
rotate-k with k=2 | ([16, 2, 16, 6, 8, 12, 12, 3, 6, 8, 5, 5],) | [5, 5, 16, 2, 16, 6, 8, 12, 12, 3, 6, 8] | list(int) -> list(int) |
kth-largest with k=3 | ([8, 5, 1, 4, 15, 4, 9, 11, 1],) | 9 | list(int) -> int |
keep gt 1 | ([2, 3, 4, 5, 6],) | [2, 3, 4, 5, 6] | list(int) -> list(int) |
slice-k-n with k=5 and n=3 | ([14, 15, 15, 9, 3, 7, 7, 6, 8, 1, 1, 7, 9],) | [3, 7, 7] | list(int) -> list(int) |
drop first word delimited by ')' | ('Jenee)Jenee)151)UC',) | Jenee)151)UC | list(char) -> list(char) |
has-head-in-tail | ([1, 2, 3],) | False | list(int) -> bool |
nth (n=0) word delimited by ')' | ('Lara)+176',) | Lara | list(char) -> list(char) |
remove-mod-k with k=4 | ([10, 14],) | [10, 14] | list(int) -> list(int) |
Append two words delimited by '. ' | ('771', '5') | 771. 5 | list(char) -> list(char) -> list(char) |
Append two words delimited by ',' | ('Acura100', '705') | Acura100,705 | list(char) -> list(char) -> list(char) |
parentheses around word delimited by ' ' & ' ' | ('Spagnoli Marquess Gertude',) | Spagnoli (Marquess) Gertude | list(char) -> list(char) |
nth (n=-1) word delimited by ',' | ('468,376',) | 376 | list(char) -> list(char) |
Replace '(' w/ ')' | ('+194(+185(+147(Rice',) | +194)+185)+147)Rice | list(char) -> list(char) |
Append two words delimited by ' -' | ('Q', 'Phillip') | Q -Phillip | list(char) -> list(char) -> list(char) |
repeat-k with k=3 | ([10, 9],) | [10, 9, 10, 9, 10, 9] | list(int) -> list(int) |
prepend-index-k with k=4 | ([16, 13, 9, 8, 8, 0, 2, 15, 9],) | [8, 16, 13, 9, 8, 8, 0, 2, 15, 9] | list(int) -> list(int) |
rotate-k with k=2 | ([11, 16, 7, 7, 6, 3, 16, 12],) | [16, 12, 11, 16, 7, 7, 6, 3] | list(int) -> list(int) |
Append 2 strings (II) | ('Spell', 'Los') | SpellLos | list(char) -> list(char) -> list(char) |
drop-k with k=4 | ([0, 13, 4, 2],) | [] | list(int) -> list(int) |
Prepend '+174' | ('S',) | +174S | list(char) -> list(char) |
is-mod-k with k=5 | ([65, 60],) | True | list(int) -> bool |
slice-k-n with k=2 and n=5 | ([10, 14, 14, 0, 16, 0, 9, 15, 1, 15, 10],) | [14, 14, 0, 16, 0] | list(int) -> list(int) |
prepend-k with k=2 | ([14],) | [2, 14] | list(int) -> list(int) |
Replace '(' w/ ' ' | ('+194(Alaina',) | +194 Alaina | list(char) -> list(char) |
Append two words delimited by '..' | ('Spagnoli', 'Hornak') | Spagnoli..Hornak | list(char) -> list(char) -> list(char) |
drop first word delimited by '.' | ('Angeles.+115.+140',) | +115.+140 | list(char) -> list(char) |
Replace '(' w/ ')' | ('+194(+185(+147(Rice',) | +194)+185)+147)Rice | list(char) -> list(char) |
sort-and-deduplicate | ([4, 9, 2],) | [2, 4, 9] | list(int) -> list(int) |
slice-k-n with k=5 and n=2 | ([4, 15, 6, 1, 4, 4, 11, 5, 15, 12],) | [4, 4] | list(int) -> list(int) |
Abbreviate words separated by ')' | ('Coralee)Rowden',) | C.R. | list(char) -> list(char) |
Append 2 strings (III) | ('25', '176') | 25176 | list(char) -> list(char) -> list(char) |
prepend-index-k with k=2 | ([7, 12],) | [12, 7, 12] | list(int) -> list(int) |
Take first 3 characters | ('766',) | 766 | list(char) -> list(char) |
rotate-k with k=1 | ([8, 5, 16, 12, 11],) | [11, 8, 5, 16, 12] | list(int) -> list(int) |
repeat-k with k=5 | ([0, 1, 15, 1, 7],) | [0, 1, 15, 1, 7, 0, 1, 15, 1, 7, 0, 1, 15, 1, 7, 0, 1, 15, 1, 7, 0, 1, 15, 1, 7] | list(int) -> list(int) |
Abbreviate words separated by ',' | ('Trinidad,58',) | T.5. | list(char) -> list(char) |
slice-k-n with k=3 and n=1 | ([3, 4, 14, 6, 13, 1, 6, 5],) | [14] | list(int) -> list(int) |
drop first word delimited by ')' | ('Heintz)Babiarz)University',) | Babiarz)University | list(char) -> list(char) |
append-k with k=2 | ([4, 2, 12, 14, 9],) | [4, 2, 12, 14, 9, 2] | list(int) -> list(int) |
index-k with k=3 | ([6, 2, 6, 12],) | 6 | list(int) -> int |
Subsets and Splits