description
stringlengths
3
46
input
stringlengths
4
74
output
stringlengths
1
90
types
stringclasses
9 values
Append two words delimited by '..'
('Ferrari', 'Angeles')
Ferrari..Angeles
list(char) -> list(char) -> list(char)
Prepend 'Hornak'
('P',)
HornakP
list(char) -> list(char)
Prepend 'Carlene' to first word
('997 CA',)
Carlene997
list(char) -> list(char)
caesar-cipher-k-modulo-n with k=2 and n=4
([],)
[]
list(int) -> list(int)
replace-all-with-index-k with k=1
([0, 16, 6, 10],)
[0, 0, 0, 0]
list(int) -> list(int)
keep eq 2
([2, 3, 1, 5, 4],)
[2]
list(int) -> list(int)
prepend-k with k=2
([10, 0],)
[2, 10, 0]
list(int) -> list(int)
Replace ' ' w/ '('
('+9 Rowden Reily',)
+9(Rowden(Reily
list(char) -> list(char)
bool-identify-k with k=1
([15, 16],)
[False, False]
list(int) -> list(bool)
Prepend 'UCLA'
('Ferrari',)
UCLAFerrari
list(char) -> list(char)
slice-k-n with k=3 and n=1
([5, 6, 10, 0, 13],)
[10]
list(int) -> list(int)
First letters of words (IIIIII)
('888 Penn 50 UC',)
8P5U
list(char) -> list(char)
Replace '(' w/ '.'
('Spagnoli(7(Seamons',)
Spagnoli.7.Seamons
list(char) -> list(char)
repeat-k with k=4
([9, 3, 9, 14],)
[9, 3, 9, 14, 9, 3, 9, 14, 9, 3, 9, 14, 9, 3, 9, 14]
list(int) -> list(int)
prepend-index-k with k=5
([2, 11, 7, 7, 0, 4, 5, 11],)
[0, 2, 11, 7, 7, 0, 4, 5, 11]
list(int) -> list(int)
count-k with k=2
([13, 10, 9],)
0
list(int) -> int
Take first character and append '.'
('290',)
2.
list(char) -> list(char)
slice-k-n with k=3 and n=4
([10, 9, 3, 3, 4, 8, 9, 6, 6],)
[3, 3, 4, 8]
list(int) -> list(int)
is-mod-k with k=5
([60, 25, 45, 25, 25],)
True
list(int) -> bool
parentheses around a single word (III)
('Lain',)
(Lain)
list(char) -> list(char)
index-k with k=1
([5, 16, 10, 16, 8, 7, 2],)
5
list(int) -> int
Take first character and append ')'
('414',)
4)
list(char) -> list(char)
parentheses around a single word (I)
('Withers',)
(Withers)
list(char) -> list(char)
drop-k with k=4
([7, 2, 7, 14, 6, 0, 2, 14, 2, 16],)
[6, 0, 2, 14, 2, 16]
list(int) -> list(int)
kth-largest with k=4
([7, 4, 8, 1],)
1
list(int) -> int
kth-smallest with k=1
([6, 0],)
0
list(int) -> int
rotate-k with k=5
([7, 3, 14, 15, 8, 10, 9, 15, 9, 11, 13],)
[9, 15, 9, 11, 13, 7, 3, 14, 15, 8, 10]
list(int) -> list(int)
First letters of words (II)
('438 20 MA FreeHafer',)
42MF
list(char) -> list(char)
Prepend '177' to first word
('566 14',)
177566
list(char) -> list(char)
last
([2, 12, 11, 14, 15, 9],)
9
list(int) -> int
Take first character and append '.'
('+46',)
+.
list(char) -> list(char)
bool-identify-k with k=3
([12, 3, 14],)
[False, True, False]
list(int) -> list(bool)
parentheses around word delimited by ' ' & '-'
(' Reily-Withers,Urbana',)
(Reily)-Withers,Urbana
list(char) -> list(char)
nth (n=0) word delimited by ' '
('42 597 J',)
42
list(char) -> list(char)
bool-identify-geq-k with k=5
([2, 13],)
[False, True]
list(int) -> list(bool)
parentheses around word delimited by ',' & ','
('100,066,Annalisa',)
100,(066),Annalisa
list(char) -> list(char)
nth (n=0) word delimited by ' '
('Q +108 Desiree',)
Q
list(char) -> list(char)
modulo-k with k=3
([14, 13, 8, 15, 8, 10, 0],)
[2, 1, 2, 0, 2, 1, 0]
list(int) -> list(int)
append-k with k=0
([7, 7, 5],)
[7, 7, 5, 0]
list(int) -> list(int)
Prepend '086' to first word
('35 Lara',)
08635
list(char) -> list(char)
has-head-in-tail
([4, 2, 6, 10, 8, 12],)
False
list(int) -> bool
Abbreviate separate words (IIIII)
('21', '169')
2.1.
list(char) -> list(char) -> list(char)
count-k with k=4
([],)
0
list(int) -> int
parentheses around word delimited by '.' & ','
('476.47,017',)
476.(47),017
list(char) -> list(char)
nth (n=-1) word delimited by '-'
('+172-University-College',)
College
list(char) -> list(char)
bool-identify-k with k=5
([5, 5, 2, 5, 5, 5],)
[True, True, False, True, True, True]
list(int) -> list(bool)
Abbreviate separate words (I)
('+118', '894')
+.8.
list(char) -> list(char) -> list(char)
keep eq 3
([6, 6, 5, 3, 3],)
[3, 3]
list(int) -> list(int)
drop-k with k=4
([12, 10, 12, 0, 2, 10, 9, 6],)
[2, 10, 9, 6]
list(int) -> list(int)
count-k with k=4
([4, 4, 4, 12],)
3
list(int) -> int
nth (n=0) word delimited by '.'
('B.25.Jeanice',)
B
list(char) -> list(char)
parentheses around word delimited by ',' & ','
('100,066,Annalisa',)
100,(066),Annalisa
list(char) -> list(char)
First letters of words (IIIII)
('46 439',)
44
list(char) -> list(char)
slice-k-n with k=1 and n=4
([15, 10, 11, 14, 12, 12, 14],)
[15, 10, 11, 14]
list(int) -> list(int)
bool-identify-geq-k with k=3
([-1],)
[False]
list(int) -> list(bool)
Append two words delimited by '.'
('632', '836')
632.836
list(char) -> list(char) -> list(char)
modulo-k with k=5
([],)
[]
list(int) -> list(int)
Append two words delimited by '.'
('+2', 'Jacquiline')
+2.Jacquiline
list(char) -> list(char) -> list(char)
parentheses around word delimited by ' ' & '-'
('+151 Annalisa-Phillip-Pennsylvania',)
+151 (Annalisa)-Phillip-Pennsylvania
list(char) -> list(char)
Drop last 3 characters
('Brescia',)
Bres
list(char) -> list(char)
Drop last 3 characters
('012',)
null
list(char) -> list(char)
bool-identify-geq-k with k=5
([8, 6, 12, 16, 3, 6, 16],)
[True, True, True, True, False, True, True]
list(int) -> list(bool)
slice-k-n with k=1 and n=3
([15, 14, 7, 2, 13, 14, 7],)
[15, 14, 7]
list(int) -> list(int)
Prepend '177' to first word
('Jacqualine +180',)
177Jacqualine
list(char) -> list(char)
caesar-cipher-k-modulo-n with k=5 and n=4
([],)
[]
list(int) -> list(int)
kth-smallest with k=3
([16, 16, 4, 0, 3, 4, 9],)
4
list(int) -> int
nth (n=-1) word delimited by ','
('50,+9',)
+9
list(char) -> list(char)
add-k with k=5
([3, 6],)
[8, 11]
list(int) -> list(int)
ensure suffix `568`
('+47 P568',)
+47 P568
list(char) -> list(char)
Drop last 1 characters
('290',)
29
list(char) -> list(char)
remove-mod-head
([9, 0, 15, 1],)
[15, 1]
list(int) -> list(int)
rotate-k with k=1
([13, 5, 6, 6, 3, 5, 7, 6, 5, 11],)
[11, 13, 5, 6, 6, 3, 5, 7, 6, 5]
list(int) -> list(int)
Replace '.' w/ ')'
('83.Ramthun',)
83)Ramthun
list(char) -> list(char)
rotate-k with k=1
([7, 10, 4, 14, 4, 16, 1, 8, 4, 7, 6, 0, 2, 0, 7, 8],)
[8, 7, 10, 4, 14, 4, 16, 1, 8, 4, 7, 6, 0, 2, 0, 7]
list(int) -> list(int)
take-k with k=3
([0, 2, 15],)
[0, 2, 15]
list(int) -> list(int)
Prepend '170' to first word
('Malissa W',)
170Malissa
list(char) -> list(char)
drop first word delimited by ')'
('Jeanice)+194)+189)491',)
+194)+189)491
list(char) -> list(char)
Prepend '086' to first word
('Ducati Penn',)
086Ducati
list(char) -> list(char)
prepend-k with k=4
([6, 5, 3, 16, 7, 16, 5],)
[4, 6, 5, 3, 16, 7, 16, 5]
list(int) -> list(int)
count-k with k=0
([0, 7],)
1
list(int) -> int
last
([14, 0, 7, 3, 15, 11],)
11
list(int) -> int
kth-largest with k=3
([9, 15, 11, 10, 4, 13],)
11
list(int) -> int
slice-k-n with k=4 and n=2
([12, 9, 10, 1, 7, 7, 10, 7, 4, 1, 2, 12, 9, 14],)
[1, 7]
list(int) -> list(int)
caesar-cipher-k-modulo-n with k=3 and n=4
([0, 3, 1, 2, 3, 0, 0],)
[3, 2, 0, 1, 2, 3, 3]
list(int) -> list(int)
parentheses around a single word (II)
('426',)
(426)
list(char) -> list(char)
nth (n=0) word delimited by ','
('+115,+106',)
+115
list(char) -> list(char)
remove gt 3
([0, 6, 3, 3, 6],)
[0, 3, 3]
list(int) -> list(int)
head
([7, 11],)
7
list(int) -> int
rotate-k with k=4
([7, 9, 13, 6, 10, 10, 14, 4, 11, 3, 0, 3, 12, 13, 13, 16],)
[12, 13, 13, 16, 7, 9, 13, 6, 10, 10, 14, 4, 11, 3, 0, 3]
list(int) -> list(int)
remove-mod-k with k=3
([11, 9, 10, 15, 0, 1, 13],)
[11, 10, 1, 13]
list(int) -> list(int)
Abbreviate separate words (IIIIII)
('O', 'Dr')
O.D.
list(char) -> list(char) -> list(char)
kth-smallest with k=4
([2, 1, 12, 15],)
15
list(int) -> int
slice-k-n with k=1 and n=5
([5, 7, 4, 16, 10, 8, 12],)
[5, 7, 4, 16, 10]
list(int) -> list(int)
mult-k with k=2
([9, 5, 11, 4, 6],)
[18, 10, 22, 8, 12]
list(int) -> list(int)
bool-identify-is-mod-k with k=2
([2, 9, 11, 15],)
[True, False, False, False]
list(int) -> list(bool)
parentheses around first word
('415 +115 484',)
(415)
list(char) -> list(char)
pow-k with k=3
([1, 16, 12],)
[1, 4096, 1728]
list(int) -> list(int)
Append two words delimited by '. '
('Philadelphia', '433')
Philadelphia. 433
list(char) -> list(char) -> list(char)
bool-identify-k with k=3
([10, 0, 15, 9, 13],)
[False, False, False, False, False]
list(int) -> list(bool)
slice-k-n with k=1 and n=4
([14, 4, 5, 8, 14, 12, 15, 2, 14, 0, 8, 12, 11],)
[14, 4, 5, 8]
list(int) -> list(int)