description
stringlengths
3
46
input
stringlengths
4
74
output
stringlengths
1
90
types
stringclasses
9 values
caesar-cipher-k-modulo-n with k=5 and n=4
([0, 0, 0, 0, 2, 2],)
[1, 1, 1, 1, 3, 3]
list(int) -> list(int)
Append 'Dermody'
('085',)
085Dermody
list(char) -> list(char)
First letters of words (II)
('365 Aylward',)
3A
list(char) -> list(char)
repeat-k with k=3
([11, 14],)
[11, 14, 11, 14, 11, 14]
list(int) -> list(int)
First letters of words (III)
('Trinidad 500 862',)
T58
list(char) -> list(char)
replace-all-with-index-k with k=4
([16, 7, 6, 13, 1, 0, 1, 15, 10, 14],)
[13, 13, 13, 13, 13, 13, 13, 13, 13, 13]
list(int) -> list(int)
prepend-index-k with k=3
([13, 16, 6, 9, 16, 6, 10],)
[6, 13, 16, 6, 9, 16, 6, 10]
list(int) -> list(int)
Append two words delimited by '.'
('Bradford', 'Beata')
Bradford.Beata
list(char) -> list(char) -> list(char)
Append 2 strings (II)
('I', 'P')
IP
list(char) -> list(char) -> list(char)
bool-identify-is-prime
([16, 12, 15, 7],)
[False, False, False, True]
list(int) -> list(bool)
slice-k-n with k=5 and n=4
([12, 4, 7, 1, 8, 1, 2, 3, 7, 5],)
[8, 1, 2, 3]
list(int) -> list(int)
caesar-cipher-k-modulo-n with k=2 and n=5
([4, 3, 2, 3, 3, 1],)
[1, 0, 4, 0, 0, 3]
list(int) -> list(int)
slice-k-n with k=3 and n=2
([3, 12, 15, 13, 16, 3, 8, 11, 9, 16, 15, 4],)
[15, 13]
list(int) -> list(int)
keep eq 0
([6, 6, 1, 6, 5],)
[]
list(int) -> list(int)
range +1 maximum list
([9, 10, 0, 5],)
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
list(int) -> list(int)
remove gt 0
([1, 5, 0, 5, 6],)
[0]
list(int) -> list(int)
Replace '.' w/ ')'
('622.270',)
622)270
list(char) -> list(char)
+1 maximum list
([2, 0, 9],)
10
list(int) -> int
kth-largest with k=1
([11, 2, 10, 10],)
11
list(int) -> int
bool-identify-is-mod-k with k=4
([4, 0],)
[True, True]
list(int) -> list(bool)
Extract word delimited by ')' - ','
('963)Kathlyn,Melodi,Spagnoli',)
Kathlyn
list(char) -> list(char)
prepend-index-k with k=2
([6, 5, 11, 12, 14],)
[5, 6, 5, 11, 12, 14]
list(int) -> list(int)
head
([14, 8, 2, 12, 10],)
14
list(int) -> int
Append two words delimited by '..'
('Ferrari', 'Angeles')
Ferrari..Angeles
list(char) -> list(char) -> list(char)
Take first character and append ','
('Covelli',)
C,
list(char) -> list(char)
Prepend '177' to first word
('Alaina +141',)
177Alaina
list(char) -> list(char)
count-k with k=0
([16, 15, 11],)
0
list(int) -> int
Append 2 strings (III)
('Tobias', '58')
Tobias58
list(char) -> list(char) -> list(char)
Prepend 'Ghoston' to first word
('720 588',)
Ghoston720
list(char) -> list(char)
prepend-k with k=2
([],)
[2]
list(int) -> list(int)
count-k with k=1
([15, 16],)
0
list(int) -> int
bool-identify-is-mod-k with k=5
([9, 14, 5],)
[False, False, True]
list(int) -> list(bool)
Append 2 strings (IIIIII)
('O', '765')
O765
list(char) -> list(char) -> list(char)
First letters of words (IIII)
('Ducati250 Lashanda N Barbara',)
DLNB
list(char) -> list(char)
append-k with k=5
([6, 16, 1, 5, 11, 8, 5],)
[6, 16, 1, 5, 11, 8, 5, 5]
list(int) -> list(int)
index-k with k=3
([12, 14, 15, 4, 8, 1, 0, 10, 8, 0],)
15
list(int) -> int
Take first 5 characters
('Ducati250',)
Ducat
list(char) -> list(char)
prepend-index-k with k=4
([11, 7, 5, 13, 1, 3, 2, 7, 0, 12],)
[13, 11, 7, 5, 13, 1, 3, 2, 7, 0, 12]
list(int) -> list(int)
parentheses around word delimited by ',' & ' '
(',551 Cencici 68',)
,(551) Cencici 68
list(char) -> list(char)
append-k with k=3
([],)
[3]
list(int) -> list(int)
slice-k-n with k=1 and n=2
([8, 0, 4, 6, 16, 1, 6],)
[8, 0]
list(int) -> list(int)
Append 2 strings (II)
('245', 'Casler')
245Casler
list(char) -> list(char) -> list(char)
Abbreviate separate words (IIIII)
('50', 'PA')
5.P.
list(char) -> list(char) -> list(char)
nth (n=-1) word delimited by '('
('Scalia(65',)
65
list(char) -> list(char)
rotate-k with k=5
([10, 15, 6, 14, 4, 12, 0, 15, 8, 13, 16, 6, 9, 16],)
[13, 16, 6, 9, 16, 10, 15, 6, 14, 4, 12, 0, 15, 8]
list(int) -> list(int)
ensure suffix `Ramthun`
('Bogle Miah Honda250 Trinidad',)
Bogle Miah Honda250 TrinidadRamthun
list(char) -> list(char)
parentheses around a single word (IIIII)
('York',)
(York)
list(char) -> list(char)
nth (n=0) word delimited by ' '
('268 14 +104',)
268
list(char) -> list(char)
Append 2 strings (IIIIII)
('+199', '919')
+199919
list(char) -> list(char) -> list(char)
replace-all-with-index-k with k=3
([12, 12, 14, 10, 3],)
[14, 14, 14, 14, 14]
list(int) -> list(int)
slice-k-n with k=5 and n=1
([13, 2, 13, 7, 6, 6, 14, 5, 15, 5, 16],)
[6]
list(int) -> list(int)
nth (n=1) word delimited by '.'
('Karrie.Covelli.882.+129',)
Covelli
list(char) -> list(char)
Prepend 'Hornak'
('Mackenzie',)
HornakMackenzie
list(char) -> list(char)
Prepend '+167' to first word
('Madelaine Carlene',)
+167Madelaine
list(char) -> list(char)
Append 2 strings (IIIIII)
('Miah', '81')
Miah81
list(char) -> list(char) -> list(char)
slice-k-n with k=5 and n=2
([0, 11, 16, 14, 7, 7, 11, 11, 4, 5, 15, 6],)
[7, 7]
list(int) -> list(int)
Prepend '170' to first word
('Drexel Maryann',)
170Drexel
list(char) -> list(char)
Append '+138'
('512',)
512+138
list(char) -> list(char)
Replace ' ' w/ '('
('52 622',)
52(622
list(char) -> list(char)
parentheses around word delimited by ',' & ' '
('29,10 Stefany +158',)
29,(10) Stefany +158
list(char) -> list(char)
Take first character and append '-'
('Scalia',)
S-
list(char) -> list(char)
Abbreviate separate words (I)
('+118', '894')
+.8.
list(char) -> list(char) -> list(char)
Prepend 'Jani'
('Andria',)
JaniAndria
list(char) -> list(char)
dup
([16, 15, 13],)
[16, 16, 15, 15, 13, 13]
list(int) -> list(int)
take-k with k=5
([4, 9, 11, 7, 11, 10, 1, 7, 1, 8, 1, 1],)
[4, 9, 11, 7, 11]
list(int) -> list(int)
ensure suffix `769`
('Andria +140 Spell',)
Andria +140 Spell769
list(char) -> list(char)
remove-index-k with k=1
([1],)
[]
list(int) -> list(int)
Append '636'
('Bess',)
Bess636
list(char) -> list(char)
slice-k-n with k=5 and n=4
([0, 8, 1, 11, 12, 14, 12, 5, 7, 4, 10, 13, 6, 4],)
[12, 14, 12, 5]
list(int) -> list(int)
Prepend 'Sergienko'
('Stefany',)
SergienkoStefany
list(char) -> list(char)
min
([7, 9, 7, 7, 8, 1],)
1
list(int) -> int
index-k with k=2
([8, 13, 4, 4, 12, 7],)
13
list(int) -> int
caesar-cipher-k-modulo-n with k=4 and n=5
([3, 3, 0, 2, 1, 0],)
[2, 2, 4, 1, 0, 4]
list(int) -> list(int)
keep gt 3
([4, 2, 1, 1, 2],)
[4]
list(int) -> list(int)
slice-k-n with k=5 and n=2
([4, 6, 13, 1, 3, 8, 5, 4, 16, 8, 6, 15],)
[3, 8]
list(int) -> list(int)
range
(5,)
[0, 1, 2, 3, 4]
int -> list(int)
Replace '.' w/ ')'
('622.270',)
622)270
list(char) -> list(char)
nth (n=-1) word delimited by '-'
('+172-University-College',)
College
list(char) -> list(char)
count-k with k=1
([1],)
1
list(int) -> int
Abbreviate words separated by ')'
('Coralee)Rowden',)
C.R.
list(char) -> list(char)
drop-k with k=2
([14, 9, 12, 12, 2, 16, 1, 3, 4],)
[12, 12, 2, 16, 1, 3, 4]
list(int) -> list(int)
prepend-index-k with k=4
([1, 10, 1, 10, 5, 16],)
[10, 1, 10, 1, 10, 5, 16]
list(int) -> list(int)
Replace ',' w/ '('
('820,Connecticut',)
820(Connecticut
list(char) -> list(char)
index-k with k=3
([5, 6, 0, 9, 6, 7, 15],)
0
list(int) -> int
append-index-k with k=4
([0, 12, 16, 14, 14, 8, 4, 0, 6, 2, 7],)
[0, 12, 16, 14, 14, 8, 4, 0, 6, 2, 7, 14]
list(int) -> list(int)
bool-identify-geq-k with k=2
([15, 2, 13, 11, 5, 9, 4],)
[True, True, True, True, True, True, True]
list(int) -> list(bool)
Append two words delimited by '..'
('568', 'Teddy')
568..Teddy
list(char) -> list(char) -> list(char)
nth (n=1) word delimited by '-'
('Launa-Hornak',)
Hornak
list(char) -> list(char)
Append 'Beata'
('S',)
SBeata
list(char) -> list(char)
take-k with k=4
([8, 9, 9, 11, 0],)
[8, 9, 9, 11]
list(int) -> list(int)
slice-k-n with k=2 and n=3
([7, 0, 2, 0, 3, 8, 2, 0, 5, 2],)
[0, 2, 0]
list(int) -> list(int)
prepend-index-k with k=5
([7, 7, 0, 0, 11, 15, 13, 14],)
[11, 7, 7, 0, 0, 11, 15, 13, 14]
list(int) -> list(int)
prepend-k with k=0
([9, 10, 8],)
[0, 9, 10, 8]
list(int) -> list(int)
append-index-k with k=3
([6, 14, 12, 4, 4, 15, 3, 1, 4],)
[6, 14, 12, 4, 4, 15, 3, 1, 4, 12]
list(int) -> list(int)
slice-k-n with k=5 and n=3
([11, 6, 1, 2, 7, 9, 11, 10, 5, 8, 2, 16, 4, 0],)
[7, 9, 11]
list(int) -> list(int)
nth (n=1) word delimited by ','
('Arbor,Scalia,Seamons,847',)
Scalia
list(char) -> list(char)
keep gt 1
([5, 1, 6, 6, 5],)
[5, 6, 6, 5]
list(int) -> list(int)
prepend-index-k with k=5
([8, 9, 0, 7, 11],)
[11, 8, 9, 0, 7, 11]
list(int) -> list(int)
Replace '.' w/ ')'
('Lakenya.876.18.064',)
Lakenya)876)18)064
list(char) -> list(char)
nth (n=1) word delimited by ' '
('+132 Annalisa Mcgaughey Ferrari',)
Annalisa
list(char) -> list(char)