description
stringlengths 3
46
| input
stringlengths 4
74
| output
stringlengths 1
90
⌀ | types
stringclasses 9
values |
---|---|---|---|
Append two words delimited by '.' | ('+2', 'Jacquiline') | +2.Jacquiline | list(char) -> list(char) -> list(char) |
Append 2 strings (III) | ('Tobias', '58') | Tobias58 | list(char) -> list(char) -> list(char) |
slice-k-n with k=4 and n=5 | ([14, 8, 12, 8, 2, 14, 1, 2, 15, 2, 14, 0, 0],) | [8, 2, 14, 1, 2] | list(int) -> list(int) |
keep gt 0 | ([3, 2, 4, 4, 4],) | [3, 2, 4, 4, 4] | list(int) -> list(int) |
Replace ',' w/ '(' | ('Nancy,334,611,+172',) | Nancy(334(611(+172 | list(char) -> list(char) |
range +1 maximum list | ([9, 1, 10, 0, 2],) | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] | list(int) -> list(int) |
Append two words delimited by '..' | ('568', 'Teddy') | 568..Teddy | list(char) -> list(char) -> list(char) |
slice-k-n with k=1 and n=1 | ([10, 3, 10, 11, 4, 16, 7],) | [10] | list(int) -> list(int) |
count-k with k=3 | ([3, 3, 3],) | 3 | list(int) -> int |
Abbreviate words separated by '.' | ('Cambridge.6',) | C.6. | list(char) -> list(char) |
slice-k-n with k=5 and n=4 | ([0, 9, 12, 15, 16, 4, 2, 7, 8, 2, 0, 2],) | [16, 4, 2, 7] | list(int) -> list(int) |
has-k with k=3 | ([3, 2, 3, 3],) | True | list(int) -> bool |
modulo-k with k=1 | ([1, 4, 12],) | [0, 0, 0] | list(int) -> list(int) |
caesar-cipher-k-modulo-n with k=2 and n=3 | ([0, 0],) | [2, 2] | list(int) -> list(int) |
parentheses around a single word (I) | ('Halpern',) | (Halpern) | list(char) -> list(char) |
slice-k-n with k=2 and n=5 | ([9, 7, 2, 5, 0, 11, 10, 2, 1, 15, 16, 8],) | [7, 2, 5, 0, 11] | list(int) -> list(int) |
First letters of words (IIII) | ('Spell 865 169 095',) | S810 | list(char) -> list(char) |
caesar-cipher-k-modulo-n with k=5 and n=4 | ([2, 2, 0, 1, 2, 3, 3],) | [3, 3, 1, 2, 3, 0, 0] | list(int) -> list(int) |
pow-k with k=4 | ([],) | [] | list(int) -> list(int) |
bool-identify-is-mod-k with k=4 | ([9, 1, 16],) | [False, False, True] | list(int) -> list(bool) |
sort | ([],) | [] | list(int) -> list(int) |
Extract word delimited by ',' - '.' | ('CT,+118.Mariel.40',) | +118 | list(char) -> list(char) |
modulo-k with k=1 | ([1, 16, 5, 15, 8, 10, 13],) | [0, 0, 0, 0, 0, 0, 0] | list(int) -> list(int) |
range | (2,) | [0, 1] | int -> list(int) |
Append two words delimited by '..' | ('568', 'Teddy') | 568..Teddy | list(char) -> list(char) -> list(char) |
Prepend '+174' | ('52',) | +17452 | list(char) -> list(char) |
Append 2 strings (II) | ('Spell', 'Los') | SpellLos | list(char) -> list(char) -> list(char) |
bool-identify-geq-k with k=4 | ([15, 3, 3, 1, 3],) | [True, False, False, False, False] | list(int) -> list(bool) |
take-k with k=2 | ([3, 6, 2, 14],) | [3, 6] | list(int) -> list(int) |
rotate-k with k=4 | ([14, 7, 0, 0, 4, 2, 5, 8, 9, 11, 5, 6, 10, 0, 15, 6, 0],) | [0, 15, 6, 0, 14, 7, 0, 0, 4, 2, 5, 8, 9, 11, 5, 6, 10] | list(int) -> list(int) |
slice-k-n with k=2 and n=1 | ([2, 6, 5, 5, 2],) | [6] | list(int) -> list(int) |
nth (n=1) word delimited by ' ' | ('29 Ferrari250',) | Ferrari250 | list(char) -> list(char) |
prepend-k with k=2 | ([1, 12],) | [2, 1, 12] | list(int) -> list(int) |
Append two words delimited by '..' | ('Ferrari', 'Angeles') | Ferrari..Angeles | list(char) -> list(char) -> list(char) |
drop-k with k=1 | ([12, 0],) | [0] | list(int) -> list(int) |
Append 'Dermody' | ('085',) | 085Dermody | list(char) -> list(char) |
count-k with k=1 | ([],) | 0 | list(int) -> int |
add-k with k=1 | ([3, 4, 4, 13, 6],) | [4, 5, 5, 14, 7] | list(int) -> list(int) |
caesar-cipher-k-modulo-n with k=1 and n=3 | ([0, 0],) | [1, 1] | list(int) -> list(int) |
Append 'Cornell' | ('101',) | 101Cornell | list(char) -> list(char) |
parentheses around a single word (II) | ('426',) | (426) | list(char) -> list(char) |
replace-all-with-index-k with k=1 | ([0, 15],) | [0, 0] | list(int) -> list(int) |
Drop last 1 characters | ('769',) | 76 | list(char) -> list(char) |
append-k with k=4 | ([],) | [4] | list(int) -> list(int) |
keep eq 0 | ([5, 0, 6, 1, 4],) | [0] | list(int) -> list(int) |
remove-index-k with k=1 | ([0, 10, 4, 11, 14],) | [10, 4, 11, 14] | list(int) -> list(int) |
slice-k-n with k=2 and n=1 | ([9, 0, 16, 9, 10],) | [0] | list(int) -> list(int) |
Replace ',' w/ '(' | ('820,Connecticut',) | 820(Connecticut | list(char) -> list(char) |
slice-k-n with k=1 and n=1 | ([12, 0, 13, 16, 10],) | [12] | list(int) -> list(int) |
Prepend '177' to first word | ('421 Annalisa',) | 177421 | list(char) -> list(char) |
Abbreviate words separated by ' ' | ('Annalisa College',) | A.C. | list(char) -> list(char) |
range +1 maximum list | ([8, 4, 1, 8],) | [0, 1, 2, 3, 4, 5, 6, 7, 8] | list(int) -> list(int) |
is-evens | ([14, 10, 4, 0, 12, 6],) | True | list(int) -> bool |
Take first character and append '.' | ('290',) | 2. | list(char) -> list(char) |
add-k with k=2 | ([9, 12, 16, 9],) | [11, 14, 18, 11] | list(int) -> list(int) |
Append 2 strings (IIII) | ('141', '636') | 141636 | list(char) -> list(char) -> list(char) |
Take first character and append ' ' | ('Brescia',) | B | list(char) -> list(char) |
nth (n=-1) word delimited by '-' | ('Alaina-Jacquiline',) | Jacquiline | list(char) -> list(char) |
slice-k-n with k=1 and n=3 | ([12, 14, 2, 14, 0, 9, 8],) | [12, 14, 2] | list(int) -> list(int) |
Append two words delimited by ' ' | ('2', '+151') | 2 +151 | list(char) -> list(char) -> list(char) |
modulo-k with k=1 | ([1, 16, 12],) | [0, 0, 0] | list(int) -> list(int) |
nth (n=1) word delimited by '-' | ('Kotas-028',) | 028 | list(char) -> list(char) |
parentheses around a single word (I) | ('+140',) | (+140) | list(char) -> list(char) |
append-index-k with k=3 | ([14, 10, 10, 14, 14, 2, 9],) | [14, 10, 10, 14, 14, 2, 9, 10] | list(int) -> list(int) |
ensure suffix `997` | ('+163 +129997',) | +163 +129997 | list(char) -> list(char) |
Append two words delimited by ')' | ('42', '959') | 42)959 | list(char) -> list(char) -> list(char) |
mult-k with k=0 | ([11, 13, 5, 14, 4, 2, 14],) | [0, 0, 0, 0, 0, 0, 0] | list(int) -> list(int) |
bool-identify-k with k=4 | ([6, 4, 2],) | [False, True, False] | list(int) -> list(bool) |
slice-k-n with k=1 and n=4 | ([0, 7, 13, 15, 0, 9, 4, 7, 12, 7, 6],) | [0, 7, 13, 15] | list(int) -> list(int) |
kth-smallest with k=3 | ([9, 5, 11, 2, 10, 13, 9],) | 9 | list(int) -> int |
parentheses around a single word (I) | ('Withers',) | (Withers) | list(char) -> list(char) |
parentheses around first word | ('TX 33 Pennsylvania',) | (TX) | list(char) -> list(char) |
parentheses around first word | ('+108 29 95 +196 332',) | (+108) | list(char) -> list(char) |
count-k with k=0 | ([11, 9, 0],) | 1 | list(int) -> int |
parentheses around a single word (IIIII) | ('Acura',) | (Acura) | list(char) -> list(char) |
slice-k-n with k=3 and n=1 | ([4, 15, 6, 12, 8, 9, 8, 16, 16, 5, 4, 16],) | [6] | list(int) -> list(int) |
prepend-index-k with k=4 | ([3, 0, 1, 16, 1, 11, 0, 5, 9],) | [16, 3, 0, 1, 16, 1, 11, 0, 5, 9] | list(int) -> list(int) |
Append 2 strings (III) | ('Cambridge', 'Honda550') | CambridgeHonda550 | list(char) -> list(char) -> list(char) |
Append 'Angeles' | ('Spell',) | SpellAngeles | list(char) -> list(char) |
kth-smallest with k=4 | ([12, 9, 10, 2, 3, 5, 1, 8],) | 5 | list(int) -> int |
Take first 4 characters | ('Haven',) | Have | list(char) -> list(char) |
Append 'Angeles' | ('+199',) | +199Angeles | list(char) -> list(char) |
prepend-k with k=3 | ([2, 5, 9, 14, 14],) | [3, 2, 5, 9, 14, 14] | list(int) -> list(int) |
rotate-k with k=2 | ([11, 16, 13, 1, 11, 7, 2, 5, 9, 11, 13, 2, 9, 9, 5, 11],) | [5, 11, 11, 16, 13, 1, 11, 7, 2, 5, 9, 11, 13, 2, 9, 9] | list(int) -> list(int) |
Append '636' | ('844',) | 844636 | list(char) -> list(char) |
caesar-cipher-k-modulo-n with k=4 and n=3 | ([],) | [] | list(int) -> list(int) |
bool-identify-geq-k with k=4 | ([],) | [] | list(int) -> list(bool) |
+1 maximum list | ([10, 8, 3],) | 11 | list(int) -> int |
bool-identify-k with k=0 | ([0, 8],) | [True, False] | list(int) -> list(bool) |
drop first word delimited by '-' | ('California-+158-Ghoston-82',) | +158-Ghoston-82 | list(char) -> list(char) |
ensure suffix `997` | ('+163 +129997',) | +163 +129997 | list(char) -> list(char) |
replace-all-with-index-k with k=5 | ([12, 3, 6, 14, 5],) | [5, 5, 5, 5, 5] | list(int) -> list(int) |
bool-identify-geq-k with k=4 | ([3],) | [False] | list(int) -> list(bool) |
First letters of words (II) | ('365 Aylward',) | 3A | list(char) -> list(char) |
prepend-index-k with k=2 | ([1, 15],) | [15, 1, 15] | list(int) -> list(int) |
bool-identify-is-mod-k with k=2 | ([],) | [] | list(int) -> list(bool) |
keep-mod-head | ([6, 6, 5, 24, 54, 24],) | [6, 24, 54, 24] | list(int) -> list(int) |
parentheses around word delimited by ' ' & '-' | ('+151 Annalisa-Phillip-Pennsylvania',) | +151 (Annalisa)-Phillip-Pennsylvania | list(char) -> list(char) |
nth (n=-1) word delimited by '-' | ('473-Nancy-980-166',) | 166 | list(char) -> list(char) |
drop-k with k=2 | ([15, 16, 10, 8, 15, 9, 15],) | [10, 8, 15, 9, 15] | list(int) -> list(int) |
Subsets and Splits