description
stringlengths
3
46
input
stringlengths
4
74
output
stringlengths
1
90
types
stringclasses
9 values
mult-k with k=5
([0, 15, 5, 10, 8, 14, 12],)
[0, 75, 25, 50, 40, 70, 60]
list(int) -> list(int)
Prepend '086' to first word
('35 Lara',)
08635
list(char) -> list(char)
Prepend 'Ghoston' to first word
('125 +118',)
Ghoston125
list(char) -> list(char)
kth-largest with k=4
([16, 9, 15, 4, 16],)
9
list(int) -> int
Abbreviate words separated by '.'
('817.33',)
8.3.
list(char) -> list(char)
Abbreviate separate words (IIIII)
('Mulloy', 'V')
M.V.
list(char) -> list(char) -> list(char)
count-k with k=3
([],)
0
list(int) -> int
keep eq 1
([4, 1, 1, 3, 2],)
[1, 1]
list(int) -> list(int)
has-k with k=5
([5, 5, 5, 5, 5, 6, 5],)
True
list(int) -> bool
Take first character and append '.'
('290',)
2.
list(char) -> list(char)
sum
([3],)
3
list(int) -> int
append-k with k=4
([],)
[4]
list(int) -> list(int)
append-k with k=2
([],)
[2]
list(int) -> list(int)
Append 'Dermody'
('29',)
29Dermody
list(char) -> list(char)
drop first word delimited by '('
('Barbara(Temple(Samuel',)
Temple(Samuel
list(char) -> list(char)
add-k with k=3
([7, 11, 6, 14, 4],)
[10, 14, 9, 17, 7]
list(int) -> list(int)
slice-k-n with k=5 and n=5
([13, 5, 3, 2, 12, 3, 9, 10, 9, 16, 15, 6, 9, 0, 7, 16],)
[12, 3, 9, 10, 9]
list(int) -> list(int)
bool-identify-geq-k with k=4
([12, 13],)
[True, True]
list(int) -> list(bool)
Append 2 strings (II)
('245', 'Casler')
245Casler
list(char) -> list(char) -> list(char)
Take first 2 characters
('Stefany',)
St
list(char) -> list(char)
Replace '(' w/ '.'
('Spagnoli(7(Seamons',)
Spagnoli.7.Seamons
list(char) -> list(char)
repeat-many
([0, 11, 11, 2],)
[]
list(int) -> list(int)
add-k with k=1
([6, 2, 13],)
[7, 3, 14]
list(int) -> list(int)
repeat-k with k=5
([7, 9, 9, 2],)
[7, 9, 9, 2, 7, 9, 9, 2, 7, 9, 9, 2, 7, 9, 9, 2, 7, 9, 9, 2]
list(int) -> list(int)
keep squares
([0, 4, 25, 1, 0, 25, 7],)
[0, 4, 25, 1, 0, 25]
list(int) -> list(int)
Replace '-' w/ ','
('Georgina-Dr-Alida-Acura100',)
Georgina,Dr,Alida,Acura100
list(char) -> list(char)
Append two words delimited by ' '
('Acura', 'Vena')
Acura Vena
list(char) -> list(char) -> list(char)
nth (n=0) word delimited by ')'
('L)40)591)W',)
L
list(char) -> list(char)
caesar-cipher-k-modulo-n with k=5 and n=2
([1, 1, 0, 1, 1, 0, 0],)
[0, 0, 1, 0, 0, 1, 1]
list(int) -> list(int)
slice-k-n with k=4 and n=1
([13, 16, 7, 9, 12, 14, 2, 9],)
[9]
list(int) -> list(int)
sort
([0, 14],)
[0, 14]
list(int) -> list(int)
nth (n=-1) word delimited by '('
('Berkeley(557(29',)
29
list(char) -> list(char)
drop-k with k=5
([16, 7, 3, 14, 4, 9, 1, 13, 4, 8, 6],)
[9, 1, 13, 4, 8, 6]
list(int) -> list(int)
slice-k-n with k=5 and n=5
([11, 6, 2, 10, 12, 4, 9, 5, 7, 10, 5],)
[12, 4, 9, 5, 7]
list(int) -> list(int)
take-k with k=4
([5, 2, 4, 3],)
[5, 2, 4, 3]
list(int) -> list(int)
Prepend '+174'
('S',)
+174S
list(char) -> list(char)
dup
([7, 2, 4],)
[7, 7, 2, 2, 4, 4]
list(int) -> list(int)
nth (n=0) word delimited by ' '
('Brescia A 56',)
Brescia
list(char) -> list(char)
is-mod-k with k=5
([12, 8],)
False
list(int) -> bool
bool-identify-is-mod-k with k=1
([0, 7, 0, 8, 1, 15, 10],)
[True, True, True, True, True, True, True]
list(int) -> list(bool)
Append '+138'
('512',)
512+138
list(char) -> list(char)
Append 'Dermody'
('085',)
085Dermody
list(char) -> list(char)
has-k with k=3
([13, 3, 5, 5, 13],)
True
list(int) -> bool
bool-identify-k with k=2
([0, 8, 7, 2, 5, 2],)
[False, False, False, True, False, True]
list(int) -> list(bool)
Extract word delimited by ')' - '-'
('141)Penn-Jani-Clasen',)
Penn
list(char) -> list(char)
ensure suffix `Columbia`
('158 Quashie Hage',)
158 Quashie HageColumbia
list(char) -> list(char)
Replace ',' w/ '('
('820,Connecticut',)
820(Connecticut
list(char) -> list(char)
bool-identify-k with k=4
([4, 13, 10, 4, 4, 4],)
[True, False, False, True, True, True]
list(int) -> list(bool)
is-odds
([31, 33, 19, 25, 31, 1, 5],)
True
list(int) -> bool
Append two words delimited by '(,'
('Ducati100', '+176')
Ducati100(,+176
list(char) -> list(char) -> list(char)
parentheses around a single word (IIII)
('+176',)
(+176)
list(char) -> list(char)
ensure suffix `Andria`
('Hornak 575 MA JacquilineAndria',)
Hornak 575 MA JacquilineAndria
list(char) -> list(char)
ensure suffix `Columbia`
('Cambridge MD 875 Ducati125',)
Cambridge MD 875 Ducati125Columbia
list(char) -> list(char)
nth (n=1) word delimited by ')'
('UC)+176)Jeanice)+174',)
+176
list(char) -> list(char)
Drop last 2 characters
('562',)
5
list(char) -> list(char)
slice-k-n with k=2 and n=2
([13, 12, 8, 12, 8],)
[12, 8]
list(int) -> list(int)
slice-k-n with k=4 and n=2
([10, 4, 13, 5, 6, 10, 8, 2, 4, 2],)
[5, 6]
list(int) -> list(int)
Take first character and append ')'
('+169',)
+)
list(char) -> list(char)
nth (n=-1) word delimited by ' '
('Edison 29 938 W',)
W
list(char) -> list(char)
First letters of words (IIIII)
('751 Drexel L J',)
7DLJ
list(char) -> list(char)
nth (n=1) word delimited by ')'
('Mariel)Carlene)Ducati100)Jeff',)
Carlene
list(char) -> list(char)
parentheses around a single word (II)
('Honda',)
(Honda)
list(char) -> list(char)
parentheses around second word
('Trinidad 311 33',)
(311)
list(char) -> list(char)
ensure suffix `568`
('+194 517 Bobo568',)
+194 517 Bobo568
list(char) -> list(char)
Replace ' ' w/ '('
('52 622',)
52(622
list(char) -> list(char)
keep gt 2
([1, 1, 2, 2, 0],)
[]
list(int) -> list(int)
Append two words delimited by '('
('PA', 'Dermody')
PA(Dermody
list(char) -> list(char) -> list(char)
nth (n=1) word delimited by '('
('Andria(736(654',)
736
list(char) -> list(char)
range +1 maximum list
([0, 4, 6],)
[0, 1, 2, 3, 4, 5, 6]
list(int) -> list(int)
replace-all-with-index-k with k=2
([12, 15],)
[15, 15]
list(int) -> list(int)
First letters of words (III)
('+5 Urbana',)
+U
list(char) -> list(char)
remove-mod-k with k=5
([6],)
[6]
list(int) -> list(int)
index-head
([1, 2, 3],)
2
list(int) -> int
Abbreviate words separated by '.'
('Spagnoli.734',)
S.7.
list(char) -> list(char)
Append two words delimited by '-'
('47', 'NY')
47-NY
list(char) -> list(char) -> list(char)
last
([4, 6, 12],)
12
list(int) -> int
Take first character and append ','
('Covelli',)
C,
list(char) -> list(char)
nth (n=1) word delimited by '.'
('H.+7.Cortes.+169',)
+7
list(char) -> list(char)
remove gt 0
([6, 2, 5, 3, 3],)
[]
list(int) -> list(int)
bool-identify-is-prime
([5, 11, 12],)
[True, True, False]
list(int) -> list(bool)
slice-k-n with k=2 and n=4
([13, 13, 4, 12, 3, 6, 5, 7, 13],)
[13, 4, 12, 3]
list(int) -> list(int)
Prepend 'Ghoston' to first word
('Samuel Hage',)
GhostonSamuel
list(char) -> list(char)
parentheses around second word
('856 +138 424 Montiel',)
(+138)
list(char) -> list(char)
nth (n=0) word delimited by ' '
('268 14 +104',)
268
list(char) -> list(char)
bool-identify-k with k=1
([],)
[]
list(int) -> list(bool)
count-head-in-tail
([12],)
0
list(int) -> int
repeat-many
([5, 7, 0],)
[7, 0, 7, 0, 7, 0, 7, 0, 7, 0]
list(int) -> list(int)
Replace '.' w/ ')'
('83.Ramthun',)
83)Ramthun
list(char) -> list(char)
kth-largest with k=1
([16],)
16
list(int) -> int
Extract word delimited by '-' - ')'
('T-188)Brendan-736',)
188
list(char) -> list(char)
Drop last 2 characters
('Stefany',)
Stefa
list(char) -> list(char)
slice-k-n with k=2 and n=4
([0, 16, 7, 11, 3, 14, 9, 16, 8, 12],)
[16, 7, 11, 3]
list(int) -> list(int)
Prepend '+174'
('Jurgens',)
+174Jurgens
list(char) -> list(char)
parentheses around word delimited by '-' & '.'
('Lain-Edison.C-Temple',)
Lain-(Edison).C-Temple
list(char) -> list(char)
append-k with k=3
([10, 16],)
[10, 16, 3]
list(int) -> list(int)
Append 2 strings (III)
('Tobias', '58')
Tobias58
list(char) -> list(char) -> list(char)
Append 2 strings (IIIII)
('Alaina', '7')
Alaina7
list(char) -> list(char) -> list(char)
keep eq 3
([2, 3, 0, 2, 4],)
[3]
list(int) -> list(int)
slice-k-n with k=4 and n=5
([1, 6, 1, 5, 16, 14, 0, 9, 9, 13, 4, 9, 14],)
[5, 16, 14, 0, 9]
list(int) -> list(int)
remove-index-k with k=1
([13, 4, 11, 10, 5],)
[4, 11, 10, 5]
list(int) -> list(int)