description
stringlengths
3
46
input
stringlengths
4
74
output
stringlengths
1
90
types
stringclasses
9 values
take-k with k=4
([7, 13, 13, 8],)
[7, 13, 13, 8]
list(int) -> list(int)
ensure suffix `769`
('520 T769',)
520 T769
list(char) -> list(char)
slice-k-n with k=5 and n=1
([2, 11, 14, 5, 8, 11, 7],)
[8]
list(int) -> list(int)
add-k with k=1
([14],)
[15]
list(int) -> list(int)
ensure suffix `568`
('+47 P568',)
+47 P568
list(char) -> list(char)
ensure suffix `Columbia`
('Ferrari250 +58 AndrewColumbia',)
Ferrari250 +58 AndrewColumbia
list(char) -> list(char)
Take first character and append ' '
('Jan',)
J
list(char) -> list(char)
Take first character and append '('
('020',)
0(
list(char) -> list(char)
Append 2 strings (IIII)
('Seamons', 'Lakenya')
SeamonsLakenya
list(char) -> list(char) -> list(char)
ensure suffix `997`
('Hopkins 701 F',)
Hopkins 701 F997
list(char) -> list(char)
is-mod-k with k=1
([1, 12, 3],)
True
list(int) -> bool
slice-k-n with k=4 and n=4
([14, 14, 1, 1, 9, 14, 13, 2, 11, 3],)
[1, 9, 14, 13]
list(int) -> list(int)
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)
is-primes
([17, 193, 149, 13, 3, 47],)
True
list(int) -> bool
parentheses around word delimited by ' ' & ' '
('94 Heintz Q',)
94 (Heintz) Q
list(char) -> list(char)
odds
([4, 2],)
[]
list(int) -> list(int)
rotate-k with k=3
([0, 6, 9, 4, 16, 10, 12],)
[16, 10, 12, 0, 6, 9, 4]
list(int) -> list(int)
Abbreviate separate words (III)
('+174', 'Lain')
+.L.
list(char) -> list(char) -> list(char)
Drop last 2 characters
('Stefany',)
Stefa
list(char) -> list(char)
Append 2 strings (I)
('Georgina', '2')
Georgina2
list(char) -> list(char) -> list(char)
parentheses around word delimited by ',' & ' '
(',551 Cencici 68',)
,(551) Cencici 68
list(char) -> list(char)
Replace '(' w/ ' '
('Nancy(Houston',)
Nancy Houston
list(char) -> list(char)
count-k with k=4
([15, 1, 2, 7, 5, 4, 0],)
1
list(int) -> int
caesar-cipher-k-modulo-n with k=5 and n=2
([1, 0, 1, 1],)
[0, 1, 0, 0]
list(int) -> list(int)
First letters of words (IIIIII)
('888 Penn 50 UC',)
8P5U
list(char) -> list(char)
count-k with k=4
([6, 4, 4, 0],)
2
list(int) -> int
has-k with k=0
([],)
False
list(int) -> bool
Replace ' ' w/ '('
('+9 Rowden Reily',)
+9(Rowden(Reily
list(char) -> list(char)
keep gt 0
([6, 6, 0, 4, 4],)
[6, 6, 4, 4]
list(int) -> list(int)
Replace ',' w/ '('
('+132,Tobias',)
+132(Tobias
list(char) -> list(char)
remove-index-k with k=1
([2, 8, 12],)
[8, 12]
list(int) -> list(int)
count-k with k=2
([2, 2, 2, 2, 2, 2, 2],)
7
list(int) -> int
kth-smallest with k=4
([6, 14, 4, 7, 12, 4, 3],)
6
list(int) -> int
Drop last 1 characters
('290',)
29
list(char) -> list(char)
parentheses around word delimited by '.' & ','
('476.47,017',)
476.(47),017
list(char) -> list(char)
bool-identify-is-mod-k with k=2
([2, 8, 0, 14, 3, 10],)
[True, True, True, True, False, True]
list(int) -> list(bool)
slice-k-n with k=2 and n=5
([14, 6, 8, 15, 15, 14, 12, 3],)
[6, 8, 15, 15, 14]
list(int) -> list(int)
First letters of words (IIIII)
('46 439',)
44
list(char) -> list(char)
Append '+138'
('512',)
512+138
list(char) -> list(char)
bool-identify-geq-k with k=1
([4],)
[True]
list(int) -> list(bool)
ensure suffix `Ramthun`
('Annalisa Latimore ChismRamthun',)
Annalisa Latimore ChismRamthun
list(char) -> list(char)
Prepend 'Jani'
('Ithaca',)
JaniIthaca
list(char) -> list(char)
remove eq 0
([1, 4, 0, 1, 1],)
[1, 4, 1, 1]
list(int) -> list(int)
count-k with k=5
([8],)
0
list(int) -> int
Prepend 'Sergienko'
('Barbara',)
SergienkoBarbara
list(char) -> list(char)
count-k with k=0
([16, 12, 15],)
0
list(int) -> int
Append two words delimited by '..'
('Ferrari', 'Angeles')
Ferrari..Angeles
list(char) -> list(char) -> list(char)
caesar-cipher-k-modulo-n with k=3 and n=4
([3, 2, 2, 1, 2, 1],)
[2, 1, 1, 0, 1, 0]
list(int) -> list(int)
Take first character and append ')'
('DPhiladelphia',)
D)
list(char) -> list(char)
parentheses around word delimited by ',' & ','
('+174,Bradford,University',)
+174,(Bradford),University
list(char) -> list(char)
Append two words delimited by '. '
('771', '5')
771. 5
list(char) -> list(char) -> list(char)
Append 'Beata'
('092',)
092Beata
list(char) -> list(char)
First letters of words (I)
('81 Heintz Pannell',)
8HP
list(char) -> list(char)
is-mod-k with k=2
([],)
True
list(int) -> bool
nth (n=0) word delimited by ' '
('Brescia A 56',)
Brescia
list(char) -> list(char)
ensure suffix `Columbia`
('158 Quashie Hage',)
158 Quashie HageColumbia
list(char) -> list(char)
repeat-k with k=4
([6, 0, 12, 11, 3],)
[6, 0, 12, 11, 3, 6, 0, 12, 11, 3, 6, 0, 12, 11, 3, 6, 0, 12, 11, 3]
list(int) -> list(int)
Prepend 'Jani'
('25',)
Jani25
list(char) -> list(char)
Abbreviate separate words (III)
('692', 'Soderstrom')
6.S.
list(char) -> list(char) -> list(char)
mult-k with k=3
([10, 0, 1, 2, 6, 4],)
[30, 0, 3, 6, 18, 12]
list(int) -> list(int)
parentheses around word delimited by ',' & ' '
('Dr,+104 45',)
Dr,(+104) 45
list(char) -> list(char)
keep squares
([16, 1, 1, 9, 9, 7, 9],)
[16, 1, 1, 9, 9, 9]
list(int) -> list(int)
Append two words delimited by '.-'
('Philadelphia', '6')
Philadelphia.-6
list(char) -> list(char) -> list(char)
reverse
([2, 0, 4],)
[4, 0, 2]
list(int) -> list(int)
kth-largest with k=3
([9, 12, 12, 2, 16, 1, 3, 4, 16],)
12
list(int) -> int
nth (n=-1) word delimited by ' '
('CA Vena 23 Hopkins',)
Hopkins
list(char) -> list(char)
repeat-many
([2, 15, 1],)
[15, 1, 15, 1]
list(int) -> list(int)
ensure suffix `Columbia`
('Ferrari250 +58 AndrewColumbia',)
Ferrari250 +58 AndrewColumbia
list(char) -> list(char)
pow-k with k=4
([0, 9, 12, 7, 0],)
[0, 6561, 20736, 2401, 0]
list(int) -> list(int)
remove-index-k with k=5
([16, 16, 6, 6, 11, 5, 9, 14],)
[16, 16, 6, 6, 5, 9, 14]
list(int) -> list(int)
slice-k-n with k=1 and n=3
([15, 14, 7, 2, 13, 14, 7],)
[15, 14, 7]
list(int) -> list(int)
Drop last 3 characters
('Hage',)
H
list(char) -> list(char)
keep squares
([16, 1, 1, 9, 9, 7, 9],)
[16, 1, 1, 9, 9, 9]
list(int) -> list(int)
caesar-cipher-k-modulo-n with k=3 and n=4
([0],)
[3]
list(int) -> list(int)
Prepend '+174'
('851',)
+174851
list(char) -> list(char)
odds
([6, 10],)
[]
list(int) -> list(int)
sort
([8, 2, 10, 14],)
[2, 8, 10, 14]
list(int) -> list(int)
kth-smallest with k=2
([2, 2, 13, 0, 13, 5, 2, 6, 2],)
2
list(int) -> int
parentheses around a single word (IIIII)
('68',)
(68)
list(char) -> list(char)
bool-identify-is-mod-k with k=1
([3, 6, 1, 15, 12, 13],)
[True, True, True, True, True, True]
list(int) -> list(bool)
nth (n=-1) word delimited by '.'
('197.58',)
58
list(char) -> list(char)
Append two words delimited by '. '
('62', 'Mackenzie')
62. Mackenzie
list(char) -> list(char) -> list(char)
count-k with k=1
([1, 1, 1, 4, 1, 1],)
5
list(int) -> int
Append two words delimited by '. '
('771', '5')
771. 5
list(char) -> list(char) -> list(char)
remove eq 3
([1, 4, 1, 6, 4],)
[1, 4, 1, 6, 4]
list(int) -> list(int)
Take first character and append ' '
('MI',)
M
list(char) -> list(char)
keep-mod-head
([12, 3],)
[]
list(int) -> list(int)
slice-k-n with k=4 and n=4
([14, 9, 3, 15, 10, 9, 5, 12, 14, 4, 7, 13, 15, 2],)
[15, 10, 9, 5]
list(int) -> list(int)
parentheses around word delimited by ' ' & '-'
(' +194-9',)
(+194)-9
list(char) -> list(char)
slice-k-n with k=3 and n=5
([1, 0, 5, 5, 13, 10, 14, 4, 11],)
[5, 5, 13, 10, 14]
list(int) -> list(int)
nth (n=1) word delimited by ','
('Arbor,Scalia,Seamons,847',)
Scalia
list(char) -> list(char)
First letters of words (II)
('6 Kimberley 095',)
6K0
list(char) -> list(char)
Prepend '170' to first word
('Drexel Maryann',)
170Drexel
list(char) -> list(char)
Abbreviate words separated by '('
('048(Joaquin',)
0.J.
list(char) -> list(char)
add-k with k=5
([4, 5, 4, 0, 8, 9],)
[9, 10, 9, 5, 13, 14]
list(int) -> list(int)
replace-all-with-index-k with k=3
([15, 14, 8, 5],)
[8, 8, 8, 8]
list(int) -> list(int)
nth (n=1) word delimited by '-'
('+155-Covelli-Constable-405',)
Covelli
list(char) -> list(char)
evens
([6, 4, 7],)
[6, 4]
list(int) -> list(int)
slice-k-n with k=4 and n=2
([3, 8, 0, 14, 10, 16, 6, 9, 10, 3],)
[14, 10]
list(int) -> list(int)
mult-k with k=0
([5, 15, 8, 6],)
[0, 0, 0, 0]
list(int) -> list(int)