description
stringlengths
3
46
input
stringlengths
4
74
output
stringlengths
1
90
types
stringclasses
9 values
+1 maximum list
([6, 0],)
7
list(int) -> int
odds
([4, 2],)
[]
list(int) -> list(int)
Append two words delimited by ','
('UIUC', '608')
UIUC,608
list(char) -> list(char) -> list(char)
bool-identify-geq-k with k=5
([15, 7, 10, 3, 8],)
[True, True, True, False, True]
list(int) -> list(bool)
Append '+138'
('TX',)
TX+138
list(char) -> list(char)
parentheses around word delimited by '.' & ','
('20.066,TX-Pannell',)
20.(066),TX-Pannell
list(char) -> list(char)
keep primes
([8, 13, 17, 4, 1, 2, 1],)
[13, 17, 2]
list(int) -> list(int)
slice-k-n with k=4 and n=3
([14, 8, 11, 16, 15, 11, 5, 5, 10, 0, 12, 8, 3, 9],)
[16, 15, 11]
list(int) -> list(int)
slice-k-n with k=1 and n=3
([7, 7, 11, 5, 16],)
[7, 7, 11]
list(int) -> list(int)
append-index-k with k=3
([8, 6, 13, 11, 15, 2],)
[8, 6, 13, 11, 15, 2, 13]
list(int) -> list(int)
nth (n=1) word delimited by '('
('Phialdelphia(+176(741(Ducati250',)
+176
list(char) -> list(char)
Append two words delimited by ' -'
('2', 'J')
2 -J
list(char) -> list(char) -> list(char)
nth (n=1) word delimited by '.'
('Karrie.Covelli.882.+129',)
Covelli
list(char) -> list(char)
Append 'Dermody'
('+5',)
+5Dermody
list(char) -> list(char)
ensure suffix `Ramthun`
('Bogle Miah Honda250 Trinidad',)
Bogle Miah Honda250 TrinidadRamthun
list(char) -> list(char)
Append 2 strings (I)
('Phialdelphia', '40')
Phialdelphia40
list(char) -> list(char) -> list(char)
remove-index-k with k=5
([12, 6, 11, 9, 3],)
[12, 6, 11, 9]
list(int) -> list(int)
nth (n=-1) word delimited by '.'
('197.58',)
58
list(char) -> list(char)
nth (n=-1) word delimited by '.'
('197.58',)
58
list(char) -> list(char)
parentheses around a single word (IIII)
('Harvard',)
(Harvard)
list(char) -> list(char)
repeat
([3, 3],)
[3, 3, 3]
list(int) -> list(int)
has-k with k=4
([16],)
False
list(int) -> bool
Drop last 2 characters
('Nancy',)
Nan
list(char) -> list(char)
Prepend 'Carlene' to first word
('43 927',)
Carlene43
list(char) -> list(char)
Append 2 strings (IIII)
('Seamons', 'Lakenya')
SeamonsLakenya
list(char) -> list(char) -> list(char)
append-k with k=3
([6, 14, 12, 4, 4, 15],)
[6, 14, 12, 4, 4, 15, 3]
list(int) -> list(int)
First letters of words (II)
('438 20 MA FreeHafer',)
42MF
list(char) -> list(char)
Prepend 'Hornak'
('Mackenzie',)
HornakMackenzie
list(char) -> list(char)
First letters of words (IIII)
('Spell 865 169 095',)
S810
list(char) -> list(char)
parentheses around word delimited by ' ' & ' '
(' California +104,Teddy',)
(California) +104,Teddy
list(char) -> list(char)
caesar-cipher-k-modulo-n with k=2 and n=4
([2, 2, 0, 1, 2, 1, 1],)
[0, 0, 2, 3, 0, 3, 3]
list(int) -> list(int)
mult-k with k=2
([4, 16, 1, 8, 4, 7],)
[8, 32, 2, 16, 8, 14]
list(int) -> list(int)
nth (n=-1) word delimited by ','
('468,376',)
376
list(char) -> list(char)
Prepend 'UCLA'
('Santa',)
UCLASanta
list(char) -> list(char)
Take first 4 characters
('+106',)
+106
list(char) -> list(char)
Replace '(' w/ '.'
('75(University',)
75.University
list(char) -> list(char)
kth-smallest with k=2
([10, 1, 9, 16, 8, 11, 16, 13, 1],)
1
list(int) -> int
take-k with k=3
([1, 7, 9, 2, 2, 6, 6, 15, 1],)
[1, 7, 9]
list(int) -> list(int)
append-k with k=1
([],)
[1]
list(int) -> list(int)
remove-mod-k with k=5
([8, 5, 9, 25, 6],)
[8, 9, 6]
list(int) -> list(int)
Drop last 2 characters
('562',)
5
list(char) -> list(char)
index-k with k=2
([8, 9, 0, 3, 2, 16, 12, 4, 8],)
9
list(int) -> int
parentheses around word delimited by ' ' & '-'
(' Barbara-Mackenzie',)
(Barbara)-Mackenzie
list(char) -> list(char)
Take first character and append '('
('Pennsylvania',)
P(
list(char) -> list(char)
parentheses around a single word (IIII)
('Harvard',)
(Harvard)
list(char) -> list(char)
replace-all-with-index-k with k=4
([0, 9, 16, 3, 3, 11, 16, 0],)
[3, 3, 3, 3, 3, 3, 3, 3]
list(int) -> list(int)
ensure suffix `568`
('+194 517 Bobo568',)
+194 517 Bobo568
list(char) -> list(char)
Append two words delimited by '-'
('+196', 'O')
+196-O
list(char) -> list(char) -> list(char)
prepend-k with k=2
([13],)
[2, 13]
list(int) -> list(int)
Append 2 strings (IIIIII)
('Garrard', '+141')
Garrard+141
list(char) -> list(char) -> list(char)
nth (n=-1) word delimited by '.'
('Latimore.Joaquin.Bobo.G',)
G
list(char) -> list(char)
Abbreviate separate words (II)
('395', '082')
3.0.
list(char) -> list(char) -> list(char)
caesar-cipher-k-modulo-n with k=3 and n=2
([1, 0, 0, 0, 1, 0, 0],)
[0, 1, 1, 1, 0, 1, 1]
list(int) -> list(int)
nth (n=0) word delimited by ' '
('Brescia A 56',)
Brescia
list(char) -> list(char)
Extract word delimited by ',' - ','
('+75,FreeHafer,861,Babiarz',)
FreeHafer
list(char) -> list(char)
keep gt 2
([4, 2, 2, 5, 5],)
[4, 5, 5]
list(int) -> list(int)
bool-identify-is-mod-k with k=1
([10, 0, 15, 9, 13],)
[True, True, True, True, True]
list(int) -> list(bool)
nth (n=0) word delimited by ' '
('Brescia A 56',)
Brescia
list(char) -> list(char)
slice-k-n with k=1 and n=2
([13, 8, 5, 4],)
[13, 8]
list(int) -> list(int)
repeat-k with k=3
([8],)
[8, 8, 8]
list(int) -> list(int)
nth (n=1) word delimited by '.'
('H.+7.Cortes.+169',)
+7
list(char) -> list(char)
parentheses around word delimited by ',' & ','
(',548,43',)
,(548),43
list(char) -> list(char)
kth-largest with k=5
([15, 16, 16, 16, 6, 0, 4, 7],)
7
list(int) -> int
nth (n=-1) word delimited by ')'
('+42)+98)+115)Junkin',)
Junkin
list(char) -> list(char)
bool-identify-is-mod-k with k=2
([2, 2, 2],)
[True, True, True]
list(int) -> list(bool)
nth (n=-1) word delimited by ' '
('Edison 29 938 W',)
W
list(char) -> list(char)
Replace '(' w/ ' '
('Nancy(Houston',)
Nancy Houston
list(char) -> list(char)
prepend-index-k with k=3
([11, 3, 6],)
[6, 11, 3, 6]
list(int) -> list(int)
remove gt 3
([6, 5, 1, 1, 4],)
[1, 1]
list(int) -> list(int)
prepend-index-k with k=5
([3, 3, 7, 11, 3, 7, 2, 10, 7, 15],)
[3, 3, 3, 7, 11, 3, 7, 2, 10, 7, 15]
list(int) -> list(int)
slice-k-n with k=1 and n=5
([2, 12, 15, 7, 10, 4, 14, 11, 7],)
[2, 12, 15, 7, 10]
list(int) -> list(int)
Extract word delimited by ',' - ','
('7,Soderstrom,S,A',)
Soderstrom
list(char) -> list(char)
pow-k with k=4
([],)
[]
list(int) -> list(int)
slice-k-n with k=4 and n=2
([4, 15, 8, 1, 13, 7, 5],)
[1, 13]
list(int) -> list(int)
bool-identify-is-mod-k with k=4
([],)
[]
list(int) -> list(bool)
Take first 4 characters
('+106',)
+106
list(char) -> list(char)
First letters of words (III)
('Trinidad 500 862',)
T58
list(char) -> list(char)
Abbreviate words separated by ' '
('938 Alida',)
9.A.
list(char) -> list(char)
parentheses around first word
('415 +115 484',)
(415)
list(char) -> list(char)
Take first character and append ' '
('Alida',)
A
list(char) -> list(char)
slice-k-n with k=1 and n=2
([13, 3, 9, 14, 15],)
[13, 3]
list(int) -> list(int)
caesar-cipher-k-modulo-n with k=1 and n=4
([1, 3, 0],)
[2, 0, 1]
list(int) -> list(int)
Extract word delimited by ',' - '.'
('CT,+118.Mariel.40',)
+118
list(char) -> list(char)
Prepend '086' to first word
('Ducati Penn',)
086Ducati
list(char) -> list(char)
nth (n=0) word delimited by '('
('Pennsylvania(Marquess',)
Pennsylvania
list(char) -> list(char)
caesar-cipher-k-modulo-n with k=1 and n=2
([0, 0, 1],)
[1, 1, 0]
list(int) -> list(int)
ensure suffix `Andria`
('Hornak 575 MA JacquilineAndria',)
Hornak 575 MA JacquilineAndria
list(char) -> list(char)
Replace '(' w/ ')'
('14(Micha',)
14)Micha
list(char) -> list(char)
Append two words delimited by '.-'
('Salley', '29')
Salley.-29
list(char) -> list(char) -> list(char)
reverse
([],)
[]
list(int) -> list(int)
prepend-k with k=1
([6],)
[1, 6]
list(int) -> list(int)
Drop last 4 characters
('Andria',)
An
list(char) -> list(char)
slice-k-n with k=5 and n=1
([15, 11, 4, 16, 12, 5, 4, 3, 7, 10, 16, 16, 11, 7],)
[12]
list(int) -> list(int)
Abbreviate words separated by ','
('FreeHafer,Park',)
F.P.
list(char) -> list(char)
drop-k with k=1
([16, 2, 1, 12, 1, 11, 15],)
[2, 1, 12, 1, 11, 15]
list(int) -> list(int)
count-k with k=3
([3, 6, 1, 15, 12, 13],)
1
list(int) -> int
Take first character and append ' '
('Brescia',)
B
list(char) -> list(char)
Abbreviate words separated by ','
('FreeHafer,Park',)
F.P.
list(char) -> list(char)
bool-identify-k with k=4
([4, 4, 4, 4, 4, 4],)
[True, True, True, True, True, True]
list(int) -> list(bool)
caesar-cipher-k-modulo-n with k=1 and n=4
([2, 0, 2, 1, 3, 2],)
[3, 1, 3, 2, 0, 3]
list(int) -> list(int)