description
stringlengths 3
46
| input
stringlengths 4
74
| output
stringlengths 1
90
⌀ | types
stringclasses 9
values |
---|---|---|---|
slice-k-n with k=4 and n=3 | ([3, 14, 1, 4, 1, 16, 6, 3, 1, 7, 9],) | [4, 1, 16] | list(int) -> list(int) |
Drop last 2 characters | ('562',) | 5 | list(char) -> list(char) |
First letters of words (II) | ('Celsa Latimore',) | CL | list(char) -> list(char) |
keep-mod-k with k=4 | ([8, 14],) | [8] | list(int) -> list(int) |
Prepend '170' to first word | ('Malissa 500',) | 170Malissa | list(char) -> list(char) |
kth-smallest with k=5 | ([6, 2, 6, 9, 12, 3, 13, 5],) | 6 | list(int) -> int |
remove eq 3 | ([3, 5, 6, 5, 2],) | [5, 6, 5, 2] | list(int) -> list(int) |
add-k with k=3 | ([2, 14, 15],) | [5, 17, 18] | list(int) -> list(int) |
take-k with k=5 | ([7, 12, 9, 13, 16, 6, 1, 9, 10, 14, 9],) | [7, 12, 9, 13, 16] | list(int) -> list(int) |
Append 'Cornell' | ('IL',) | ILCornell | list(char) -> list(char) |
parentheses around word delimited by ' ' & ' ' | ('Spagnoli Marquess Gertude',) | Spagnoli (Marquess) Gertude | list(char) -> list(char) |
has-k with k=3 | ([3],) | True | list(int) -> bool |
parentheses around a single word (II) | ('B',) | (B) | list(char) -> list(char) |
slice-k-n with k=4 and n=2 | ([9, 10, 10, 3, 9, 11, 10, 2, 9, 0, 5],) | [3, 9] | list(int) -> list(int) |
drop first word delimited by ',' | ('Nancy,Beata,512,864',) | Beata,512,864 | list(char) -> list(char) |
parentheses around a single word (I) | ('Withers',) | (Withers) | list(char) -> list(char) |
index-k with k=1 | ([5, 15, 8, 10, 13, 12, 7, 0],) | 5 | list(int) -> int |
remove empty lists | ([[True, True, True], [False], [False, False], [False, True]],) | [[True, True, True], [False], [False, False], [False, True]] | list(list(bool)) -> list(list(bool)) |
kth-largest with k=5 | ([4, 14, 0, 12, 7],) | 0 | list(int) -> int |
Replace '(' w/ ' ' | ('+194(Alaina',) | +194 Alaina | list(char) -> list(char) |
Append 2 strings (IIIIII) | ('O', '765') | O765 | list(char) -> list(char) -> list(char) |
slice-k-n with k=1 and n=4 | ([6, 7, 15, 2, 2, 16, 15, 12, 6, 3, 3, 14, 5],) | [6, 7, 15, 2] | list(int) -> list(int) |
take-k with k=3 | ([7, 7, 15, 15],) | [7, 7, 15] | list(int) -> list(int) |
nth (n=0) word delimited by '-' | ('Jeff-Lara-Karrie',) | Jeff | list(char) -> list(char) |
First letters of words (II) | ('6 Kimberley 095',) | 6K0 | list(char) -> list(char) |
bool-identify-is-mod-k with k=5 | ([2, 12, 11, 14, 15, 9, 8],) | [False, False, False, False, True, False, False] | list(int) -> list(bool) |
Take first character and append ')' | ('+169',) | +) | list(char) -> list(char) |
Prepend 'Spell' | ('+197',) | Spell+197 | list(char) -> list(char) |
remove-mod-k with k=2 | ([10],) | [] | list(int) -> list(int) |
parentheses around word delimited by '-' & '.' | ('9-Ducati125.976.Alida',) | 9-(Ducati125).976.Alida | list(char) -> list(char) |
remove eq 1 | ([1, 4, 5, 4, 3],) | [4, 5, 4, 3] | list(int) -> list(int) |
modulo-k with k=3 | ([],) | [] | list(int) -> list(int) |
Append two words delimited by ' ' | ('Malissa', 'Philadelphia') | Malissa Philadelphia | list(char) -> list(char) -> list(char) |
ensure suffix `769` | ('Ducati125 A Eccleston +198769',) | Ducati125 A Eccleston +198769 | list(char) -> list(char) |
kth-smallest with k=4 | ([7, 14, 8, 15, 8],) | 14 | list(int) -> int |
Extract word delimited by ',' - '.' | ('86,+161.13,+7',) | +161 | list(char) -> list(char) |
append-k with k=2 | ([12, 12, 9, 6, 8, 2],) | [12, 12, 9, 6, 8, 2, 2] | list(int) -> list(int) |
remove-mod-k with k=4 | ([3, 32, 32, 36],) | [3] | list(int) -> list(int) |
drop first word delimited by ',' | ('Nancy,Beata,512,864',) | Beata,512,864 | list(char) -> list(char) |
len | ([1, 2, 3],) | 3 | list(int) -> int |
Replace '.' w/ ')' | ('Beata.21.119',) | Beata)21)119 | list(char) -> list(char) |
drop first word delimited by ')' | ('Jeanice)+194)+189)491',) | +194)+189)491 | list(char) -> list(char) |
+1 maximum list | ([7, 9],) | 10 | list(int) -> int |
kth-smallest with k=4 | ([16, 13, 8, 3, 15, 0, 4, 2, 11],) | 4 | list(int) -> int |
sum | ([1, 2, 3],) | 6 | list(int) -> int |
index-k with k=5 | ([16, 4, 1, 12, 3, 12, 15],) | 3 | list(int) -> int |
Take first 4 characters | ('Haven',) | Have | list(char) -> list(char) |
drop first word delimited by '-' | ('Coralee-862',) | 862 | list(char) -> list(char) |
nth (n=1) word delimited by '(' | ('Phialdelphia(+176(741(Ducati250',) | +176 | list(char) -> list(char) |
prepend-index-k with k=4 | ([4, 8, 5, 3, 1, 7, 5, 6, 13],) | [3, 4, 8, 5, 3, 1, 7, 5, 6, 13] | list(int) -> list(int) |
nth (n=-1) word delimited by ' ' | ('Edison 29 938 W',) | W | list(char) -> list(char) |
max | ([13, 10, 9, 16, 4, 15, 13],) | 16 | list(int) -> int |
parentheses around a single word (IIIII) | ('68',) | (68) | list(char) -> list(char) |
parentheses around a single word (IIII) | ('986',) | (986) | list(char) -> list(char) |
is-mod-k with k=4 | ([24],) | True | list(int) -> bool |
prepend-index-k with k=3 | ([11, 3, 6],) | [6, 11, 3, 6] | list(int) -> list(int) |
slice-k-n with k=5 and n=3 | ([15, 9, 13, 4, 4, 0, 16, 6, 4, 3, 0, 14, 16, 10, 13, 5],) | [4, 0, 16] | list(int) -> list(int) |
odds | ([5, 16, 4, 8],) | [5] | list(int) -> list(int) |
parentheses around word delimited by ' ' & ' ' | ('Honda250 Melodi +9-Kotas',) | Honda250 (Melodi) +9-Kotas | list(char) -> list(char) |
is-evens | ([2, 5, 4, 2, 0, 5, 1, 1],) | False | list(int) -> bool |
Append two words delimited by '.' | ('R', 'Rowden') | R.Rowden | list(char) -> list(char) -> list(char) |
prepend-k with k=5 | ([3],) | [5, 3] | list(int) -> list(int) |
keep gt 3 | ([1, 0, 2, 4, 3],) | [4] | list(int) -> list(int) |
parentheses around a single word (IIII) | ('+176',) | (+176) | list(char) -> list(char) |
Prepend 'Sergienko' | ('Stefany',) | SergienkoStefany | list(char) -> list(char) |
remove-mod-k with k=2 | ([15, 7, 15, 10, 13, 3, 12],) | [15, 7, 15, 13, 3] | list(int) -> list(int) |
Drop last 4 characters | ('Jenee',) | J | list(char) -> list(char) |
nth (n=-1) word delimited by ')' | ('T)+197',) | +197 | list(char) -> list(char) |
bool-identify-is-prime | ([12],) | [False] | list(int) -> list(bool) |
slice-k-n with k=1 and n=5 | ([3, 11, 9, 11, 9, 7, 3, 3, 13, 10, 3],) | [3, 11, 9, 11, 9] | list(int) -> list(int) |
nth (n=0) word delimited by '.' | ('Maryann.705.Barbara',) | Maryann | list(char) -> list(char) |
kth-largest with k=2 | ([2, 12, 7, 12],) | 12 | list(int) -> int |
bool-identify-k with k=1 | ([16, 6, 8, 13, 14],) | [False, False, False, False, False] | list(int) -> list(bool) |
slice-k-n with k=1 and n=5 | ([3, 14, 10, 13, 16, 6, 1, 14, 12, 3, 12, 15, 5],) | [3, 14, 10, 13, 16] | list(int) -> list(int) |
Abbreviate separate words (IIIII) | ('50', 'PA') | 5.P. | list(char) -> list(char) -> list(char) |
Append two words delimited by ' -' | ('Q', 'Phillip') | Q -Phillip | list(char) -> list(char) -> list(char) |
caesar-cipher-k-modulo-n with k=5 and n=3 | ([2, 0],) | [1, 2] | list(int) -> list(int) |
append-index-k with k=2 | ([4, 11, 8, 4, 10, 11, 4],) | [4, 11, 8, 4, 10, 11, 4, 11] | list(int) -> list(int) |
drop-k with k=1 | ([8],) | [] | list(int) -> list(int) |
Append 2 strings (II) | ('Spell', 'Los') | SpellLos | list(char) -> list(char) -> list(char) |
Prepend '+174' | ('S',) | +174S | list(char) -> list(char) |
empty | ([],) | True | list(int) -> bool |
Replace '(' w/ '.' | ('155(Edison(CA(29',) | 155.Edison.CA.29 | list(char) -> list(char) |
Append two words delimited by ' -' | ('779', 'Withers') | 779 -Withers | list(char) -> list(char) -> list(char) |
kth-smallest with k=1 | ([6, 0],) | 0 | list(int) -> int |
remove-mod-k with k=2 | ([15, 7, 15, 10, 13, 3, 12],) | [15, 7, 15, 13, 3] | list(int) -> list(int) |
take-k with k=3 | ([1, 2, 0, 13, 7, 10, 12, 4],) | [1, 2, 0] | list(int) -> list(int) |
last | ([16],) | 16 | list(int) -> int |
nth (n=0) word delimited by ',' | ('Neil,Heintz,Malissa,Berkeley',) | Neil | list(char) -> list(char) |
First letters of words (IIIII) | ('751 Drexel L J',) | 7DLJ | list(char) -> list(char) |
repeat-k with k=4 | ([1, 3, 13],) | [1, 3, 13, 1, 3, 13, 1, 3, 13, 1, 3, 13] | list(int) -> list(int) |
Abbreviate separate words (IIII) | ('+140', 'Partida') | +.P. | list(char) -> list(char) -> list(char) |
kth-largest with k=2 | ([14, 1],) | 1 | list(int) -> int |
Take first 2 characters | ('Dermody',) | De | list(char) -> list(char) |
Abbreviate separate words (III) | ('+174', 'Lain') | +.L. | list(char) -> list(char) -> list(char) |
remove-index-k with k=3 | ([5, 4, 5, 2, 14, 6, 9, 15, 1, 1],) | [5, 4, 2, 14, 6, 9, 15, 1, 1] | list(int) -> list(int) |
repeat-k with k=2 | ([9, 5, 0, 0, 13],) | [9, 5, 0, 0, 13, 9, 5, 0, 0, 13] | list(int) -> list(int) |
bool-identify-geq-k with k=0 | ([3, 10, 8, 13, 11, 15],) | [True, True, True, True, True, True] | list(int) -> list(bool) |
replace-all-with-index-k with k=5 | ([4, 16, 8, 9, 13, 8, 12, 11, 4, 5, 2],) | [13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13] | list(int) -> list(int) |
Take first character and append '(' | ('Pennsylvania',) | P( | list(char) -> list(char) |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.