description
stringlengths 3
46
| input
stringlengths 4
74
| output
stringlengths 1
90
⌀ | types
stringclasses 9
values |
---|---|---|---|
Drop last 3 characters | ('857',) | null | list(char) -> list(char) |
Take first 3 characters | ('598',) | 598 | list(char) -> list(char) |
keep squares | ([0, 4, 25, 9, 0, 1, 2],) | [0, 4, 25, 9, 0, 1] | list(int) -> list(int) |
bool-identify-is-mod-k with k=2 | ([9, 2, 2, 8],) | [False, True, True, True] | list(int) -> list(bool) |
is-evens | ([8, 4],) | True | list(int) -> bool |
Prepend '170' to first word | ('Malissa W',) | 170Malissa | list(char) -> list(char) |
pow-k with k=5 | ([],) | [] | list(int) -> list(int) |
modulo-k with k=3 | ([10, 8],) | [1, 2] | list(int) -> list(int) |
nth (n=-1) word delimited by ')' | ('539)027)42',) | 42 | list(char) -> list(char) |
dup | ([8, 0, 9, 15, 7, 14, 9],) | [8, 8, 0, 0, 9, 9, 15, 15, 7, 7, 14, 14, 9, 9] | list(int) -> list(int) |
nth (n=1) word delimited by '.' | ('H.+7.Cortes.+169',) | +7 | list(char) -> list(char) |
drop first word delimited by ')' | ('Heintz)Babiarz)University',) | Babiarz)University | list(char) -> list(char) |
nth (n=-1) word delimited by ' ' | ('CA Vena 23 Hopkins',) | Hopkins | list(char) -> list(char) |
nth (n=-1) word delimited by ',' | ('50,+9',) | +9 | list(char) -> list(char) |
caesar-cipher-k-modulo-n with k=5 and n=3 | ([2],) | [1] | list(int) -> list(int) |
nth (n=0) word delimited by '.' | ('505.+46',) | 505 | list(char) -> list(char) |
parentheses around word delimited by ',' & ' ' | ('29,10 Stefany +158',) | 29,(10) Stefany +158 | list(char) -> list(char) |
has-k with k=1 | ([1, 1, 1],) | True | list(int) -> bool |
index-k with k=1 | ([12, 12],) | 12 | list(int) -> int |
drop first word delimited by ')' | ('Jeanice)+194)+189)491',) | +194)+189)491 | list(char) -> list(char) |
is-mod-k with k=2 | ([9, 4, 9, 6],) | False | list(int) -> bool |
Abbreviate words separated by ',' | ('Rice,883',) | R.8. | list(char) -> list(char) |
parentheses around a single word (II) | ('Honda',) | (Honda) | list(char) -> list(char) |
Append two words delimited by '(,' | ('245', '18') | 245(,18 | list(char) -> list(char) -> list(char) |
Prepend '177' to first word | ('Jacqualine +180',) | 177Jacqualine | list(char) -> list(char) |
nth (n=-1) word delimited by '-' | ('+172-University-College',) | College | list(char) -> list(char) |
Append '636' | ('844',) | 844636 | list(char) -> list(char) |
parentheses around word delimited by '-' & '.' | ('Lain-Edison.C-Temple',) | Lain-(Edison).C-Temple | list(char) -> list(char) |
odds | ([3, 8],) | [3] | list(int) -> list(int) |
Take first 2 characters | ('+2',) | +2 | list(char) -> list(char) |
slice-k-n with k=5 and n=1 | ([7, 14, 4, 6, 15, 10, 14, 8],) | [15] | list(int) -> list(int) |
index-k with k=3 | ([4, 11, 14, 0, 13, 1, 10, 5],) | 14 | list(int) -> int |
kth-smallest with k=4 | ([6, 7, 13, 8, 13, 16, 7, 10],) | 8 | list(int) -> int |
sum | ([3],) | 3 | list(int) -> int |
parentheses around first word | ('+108 29 95 +196 332',) | (+108) | list(char) -> list(char) |
Replace '(' w/ ' ' | ('377(209(+118',) | 377 209 +118 | list(char) -> list(char) |
count-k with k=5 | ([5, 16, 11, 5],) | 2 | list(int) -> int |
bool-identify-k with k=3 | ([13, 7, 9, 10],) | [False, False, False, False] | list(int) -> list(bool) |
Abbreviate words separated by '-' | ('Kathlyn-Beata',) | K.B. | list(char) -> list(char) |
Append 2 strings (I) | ('Richert', 'NY') | RichertNY | list(char) -> list(char) -> list(char) |
pop | ([5, 11, 4, 14, 13, 8],) | [5, 11, 4, 14, 13] | list(int) -> list(int) |
Append two words delimited by ' ' | ('Acura', 'Vena') | Acura Vena | list(char) -> list(char) -> list(char) |
last | ([1, 9, 14, 16],) | 16 | list(int) -> int |
Append '636' | ('844',) | 844636 | list(char) -> list(char) |
remove gt 3 | ([5, 4, 4, 2, 4],) | [2] | list(int) -> list(int) |
nth (n=0) word delimited by ' ' | ('268 14 +104',) | 268 | list(char) -> list(char) |
mult-k with k=3 | ([12, 7, 7],) | [36, 21, 21] | list(int) -> list(int) |
keep gt 2 | ([4, 0, 6, 6, 1],) | [4, 6, 6] | list(int) -> list(int) |
bool-identify-geq-k with k=2 | ([12],) | [True] | list(int) -> list(bool) |
sort-and-deduplicate | ([6, 4, 9],) | [4, 6, 9] | list(int) -> list(int) |
ensure suffix `Scalia` | ('Ducati250 HoustonScalia',) | Ducati250 HoustonScalia | list(char) -> list(char) |
ensure suffix `Scalia` | ('Ramthun Beata Chism FreeHaferScalia',) | Ramthun Beata Chism FreeHaferScalia | list(char) -> list(char) |
Extract word delimited by ')' - ',' | ('+104)+58,Ramthun,Bobo',) | +58 | list(char) -> list(char) |
pow-k with k=2 | ([7, 8, 1, 9],) | [49, 64, 1, 81] | list(int) -> list(int) |
mult-k with k=0 | ([9, 7],) | [0, 0] | list(int) -> list(int) |
keep gt 1 | ([5, 3, 2, 2, 4],) | [5, 3, 2, 2, 4] | list(int) -> list(int) |
First letters of words (IIIIII) | ('888 Penn 50 UC',) | 8P5U | list(char) -> list(char) |
kth-smallest with k=3 | ([16, 5, 4, 5, 2, 14, 6, 9, 15],) | 5 | list(int) -> int |
Append two words delimited by ',' | ('UIUC', '608') | UIUC,608 | list(char) -> list(char) -> list(char) |
Abbreviate separate words (III) | ('038', 'Hornak') | 0.H. | list(char) -> list(char) -> list(char) |
odds | ([3, 0],) | [3] | list(int) -> list(int) |
parentheses around word delimited by '-' & '.' | ('Lain-Edison.C-Temple',) | Lain-(Edison).C-Temple | list(char) -> list(char) |
add-k with k=4 | ([11, 11, 1, 7, 3, 2],) | [15, 15, 5, 11, 7, 6] | list(int) -> list(int) |
slice-k-n with k=2 and n=4 | ([0, 9, 8, 11, 6, 7, 6, 4, 4, 7],) | [9, 8, 11, 6] | list(int) -> list(int) |
Prepend 'Spell' | ('+105',) | Spell+105 | list(char) -> list(char) |
Replace '.' w/ ')' | ('Lakenya.876.18.064',) | Lakenya)876)18)064 | list(char) -> list(char) |
parentheses around word delimited by '.' & ',' | ('.DPhiladelphia,+132 G',) | .(DPhiladelphia),+132 G | list(char) -> list(char) |
Append 2 strings (I) | ('Georgina', '2') | Georgina2 | list(char) -> list(char) -> list(char) |
has-k with k=1 | ([1, 1, 1, 7],) | True | list(int) -> bool |
nth (n=0) word delimited by ' ' | ('Brescia A 56',) | Brescia | list(char) -> list(char) |
pow-k with k=3 | ([15, 9, 8, 8, 4, 3],) | [3375, 729, 512, 512, 64, 27] | list(int) -> list(int) |
append-k with k=0 | ([6, 4, 9],) | [6, 4, 9, 0] | list(int) -> list(int) |
Extract word delimited by '(' - '(' | ('Ducati250(+183(Richert(Park',) | +183 | list(char) -> list(char) |
take-k with k=2 | ([7, 16, 11, 2, 2, 5, 12, 2],) | [7, 16] | list(int) -> list(int) |
replace-all-with-index-k with k=5 | ([16, 5, 7, 1, 5],) | [5, 5, 5, 5, 5] | list(int) -> list(int) |
append-k with k=3 | ([11, 4, 7, 9, 5, 2],) | [11, 4, 7, 9, 5, 2, 3] | list(int) -> list(int) |
Prepend '086' to first word | ('Georgina 72',) | 086Georgina | list(char) -> list(char) |
replace-all-with-index-k with k=1 | ([15, 7, 0, 9, 9, 7, 10],) | [15, 15, 15, 15, 15, 15, 15] | list(int) -> list(int) |
Append 2 strings (IIII) | ('141', '636') | 141636 | list(char) -> list(char) -> list(char) |
Append '636' | ('FreeHafer',) | FreeHafer636 | list(char) -> list(char) |
keep gt 1 | ([2, 1, 1, 3, 4],) | [2, 3, 4] | list(int) -> list(int) |
min | ([3, 1, 8, 15, 7],) | 1 | list(int) -> int |
Append 2 strings (IIII) | ('Marcus', '776') | Marcus776 | list(char) -> list(char) -> list(char) |
odds | ([14],) | [] | list(int) -> list(int) |
keep gt 1 | ([6, 5, 4, 5, 3],) | [6, 5, 4, 5, 3] | list(int) -> list(int) |
nth (n=1) word delimited by '(' | ('+188(45(+9',) | 45 | list(char) -> list(char) |
Append two words delimited by '(' | ('204', 'Elias') | 204(Elias | list(char) -> list(char) -> list(char) |
take-k with k=3 | ([10, 7, 14],) | [10, 7, 14] | list(int) -> list(int) |
nth (n=1) word delimited by '-' | ('+155-Covelli-Constable-405',) | Covelli | list(char) -> list(char) |
prepend-k with k=2 | ([6, 6, 8, 3, 12],) | [2, 6, 6, 8, 3, 12] | list(int) -> list(int) |
Abbreviate separate words (I) | ('Dermody', 'D') | D.D. | list(char) -> list(char) -> list(char) |
nth (n=0) word delimited by ',' | ('R,Miah,Arbor',) | R | list(char) -> list(char) |
Append '636' | ('Bess',) | Bess636 | list(char) -> list(char) |
slice-k-n with k=3 and n=5 | ([5, 0, 14, 1, 3, 6, 0, 6, 16, 3, 2, 14, 8, 7, 8, 16],) | [14, 1, 3, 6, 0] | list(int) -> list(int) |
parentheses around second word | ('856 +138 424 Montiel',) | (+138) | list(char) -> list(char) |
drop first word delimited by ')' | ('Mariel)+195',) | +195 | list(char) -> list(char) |
mult-k with k=0 | ([8],) | [0] | list(int) -> list(int) |
ensure suffix `Ramthun` | ('Bogle Miah Honda250 Trinidad',) | Bogle Miah Honda250 TrinidadRamthun | list(char) -> list(char) |
Append two words delimited by '.' | ('Bradford', 'Beata') | Bradford.Beata | list(char) -> list(char) -> list(char) |
repeat-k with k=4 | ([7, 9, 11, 7],) | [7, 9, 11, 7, 7, 9, 11, 7, 7, 9, 11, 7, 7, 9, 11, 7] | list(int) -> list(int) |
Subsets and Splits