description
stringlengths
3
46
input
stringlengths
4
74
output
stringlengths
1
90
types
stringclasses
9 values
First letters of words (III)
('+5 Urbana',)
+U
list(char) -> list(char)
Take first 5 characters
('Gregori',)
Grego
list(char) -> list(char)
Replace ',' w/ '('
('820,Connecticut',)
820(Connecticut
list(char) -> list(char)
slice-k-n with k=4 and n=2
([3, 7, 8, 0, 7, 6, 8, 6, 9, 8],)
[0, 7]
list(int) -> list(int)
count-head-in-tail
([14, 14],)
1
list(int) -> int
Append 2 strings (IIIIII)
('Garrard', '+141')
Garrard+141
list(char) -> list(char) -> list(char)
repeat-k with k=3
([12, 10],)
[12, 10, 12, 10, 12, 10]
list(int) -> list(int)
rotate-k with k=3
([8, 13, 9, 6, 8, 6],)
[6, 8, 6, 8, 13, 9]
list(int) -> list(int)
ensure suffix `Scalia`
('Ducati250 HoustonScalia',)
Ducati250 HoustonScalia
list(char) -> list(char)
drop first word delimited by '('
('75(Rice',)
Rice
list(char) -> list(char)
prepend-k with k=3
([],)
[3]
list(int) -> list(int)
empty
([4, 7, 16, 11, 10, 3, 15],)
False
list(int) -> bool
Abbreviate separate words (IIII)
('+140', 'Partida')
+.P.
list(char) -> list(char) -> list(char)
Abbreviate words separated by '.'
('Cambridge.6',)
C.6.
list(char) -> list(char)
bool-identify-k with k=1
([1, 1, 1, 4, 1, 1],)
[True, True, True, False, True, True]
list(int) -> list(bool)
nth (n=1) word delimited by '-'
('Kotas-028',)
028
list(char) -> list(char)
Append two words delimited by ')'
('Storrs', 'Jacquiline')
Storrs)Jacquiline
list(char) -> list(char) -> list(char)
nth (n=1) word delimited by '('
('+188(45(+9',)
45
list(char) -> list(char)
range
(7,)
[0, 1, 2, 3, 4, 5, 6]
int -> list(int)
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)
drop first word delimited by ')'
('Jenee)Jenee)151)UC',)
Jenee)151)UC
list(char) -> list(char)
modulo-k with k=2
([1],)
[1]
list(int) -> list(int)
Replace ',' w/ '('
('066,+106,Bobo,200',)
066(+106(Bobo(200
list(char) -> list(char)
index-k with k=4
([4, 0, 3, 4, 9, 2, 15, 4, 8, 5, 8],)
4
list(int) -> int
kth-smallest with k=3
([11, 8, 8, 5, 6, 2, 15, 9, 1, 6],)
5
list(int) -> int
Append two words delimited by ' -'
('779', 'Withers')
779 -Withers
list(char) -> list(char) -> list(char)
add-k with k=1
([9, 10, 4],)
[10, 11, 5]
list(int) -> list(int)
sort
([8, 2, 10, 14],)
[2, 8, 10, 14]
list(int) -> list(int)
First letters of words (IIIIII)
('+155 174 Dr Haven',)
+1DH
list(char) -> list(char)
Append 2 strings (II)
('I', 'P')
IP
list(char) -> list(char) -> list(char)
keep squares
([8, 3, 5, 9, 9, 2, 4],)
[9, 9, 4]
list(int) -> list(int)
count-k with k=4
([],)
0
list(int) -> int
ensure suffix `Andria`
('Madelaine +189Andria',)
Madelaine +189Andria
list(char) -> list(char)
nth (n=0) word delimited by '-'
('Olague-Bradford-+115-N',)
Olague
list(char) -> list(char)
Take first character and append '('
('020',)
0(
list(char) -> list(char)
Append 'Dermody'
('085',)
085Dermody
list(char) -> list(char)
drop-k with k=2
([12, 5, 7, 15, 6],)
[7, 15, 6]
list(int) -> list(int)
repeat-k with k=2
([6, 7, 16],)
[6, 7, 16, 6, 7, 16]
list(int) -> list(int)
Replace ',' w/ '.'
('+197,980,Hage,Cencici',)
+197.980.Hage.Cencici
list(char) -> list(char)
repeat-k with k=4
([15, 10, 10, 8],)
[15, 10, 10, 8, 15, 10, 10, 8, 15, 10, 10, 8, 15, 10, 10, 8]
list(int) -> list(int)
count-k with k=2
([3],)
0
list(int) -> int
Extract word delimited by ')' - '-'
('Cruz)+188-Maryann)183',)
+188
list(char) -> list(char)
empty
([1, 1, 2, 1],)
False
list(int) -> bool
caesar-cipher-k-modulo-n with k=1 and n=2
([0, 0, 1, 0, 1, 0],)
[1, 1, 0, 1, 0, 1]
list(int) -> list(int)
Extract word delimited by ',' - '.'
('CT,+118.Mariel.40',)
+118
list(char) -> list(char)
tail
([6, 6, 3, 14],)
[6, 3, 14]
list(int) -> list(int)
Abbreviate separate words (IIII)
('S', 'Beata')
S.B.
list(char) -> list(char) -> list(char)
slice-k-n with k=3 and n=2
([15, 0, 8, 12, 3, 0, 14, 1],)
[8, 12]
list(int) -> list(int)
Extract word delimited by ',' - ','
('7,Soderstrom,S,A',)
Soderstrom
list(char) -> list(char)
slice-k-n with k=5 and n=4
([8, 3, 6, 2, 1, 10, 1, 13, 7, 6, 3, 8, 11, 11, 8, 10, 8],)
[1, 10, 1, 13]
list(int) -> list(int)
ensure suffix `997`
('+163 +129997',)
+163 +129997
list(char) -> list(char)
prepend-k with k=5
([10, 7, 15, 13, 14, 13, 3],)
[5, 10, 7, 15, 13, 14, 13, 3]
list(int) -> list(int)
Append two words delimited by '.'
('Bradford', 'Beata')
Bradford.Beata
list(char) -> list(char) -> list(char)
Extract word delimited by '(' - '('
('14(Rowden(Jeanice(Acura125',)
Rowden
list(char) -> list(char)
caesar-cipher-k-modulo-n with k=2 and n=5
([0, 0, 2, 4, 0, 1, 0],)
[2, 2, 4, 1, 2, 3, 2]
list(int) -> list(int)
drop-k with k=2
([10, 5, 5],)
[5]
list(int) -> list(int)
Drop last 3 characters
('857',)
null
list(char) -> list(char)
replace-all-with-index-k with k=2
([10, 11, 9, 13],)
[11, 11, 11, 11]
list(int) -> list(int)
Prepend '+174'
('Jurgens',)
+174Jurgens
list(char) -> list(char)
index-head
([3, 1, 3, 4, 2],)
4
list(int) -> int
append-k with k=1
([0, 12, 5, 16, 2, 5, 12],)
[0, 12, 5, 16, 2, 5, 12, 1]
list(int) -> list(int)
append-k with k=3
([],)
[3]
list(int) -> list(int)
slice-k-n with k=5 and n=5
([4, 13, 3, 15, 11, 5, 0, 16, 4, 9, 8, 7, 16, 4, 9, 6],)
[11, 5, 0, 16, 4]
list(int) -> list(int)
slice-k-n with k=3 and n=1
([10, 13, 5, 8, 16, 1, 4],)
[5]
list(int) -> list(int)
append-k with k=3
([12, 15, 12],)
[12, 15, 12, 3]
list(int) -> list(int)
slice-k-n with k=3 and n=2
([11, 12, 7, 13, 16, 3, 9, 15, 1, 0, 3],)
[7, 13]
list(int) -> list(int)
Take first 3 characters
('598',)
598
list(char) -> list(char)
Append two words delimited by ')'
('Park', 'Hopkins')
Park)Hopkins
list(char) -> list(char) -> list(char)
Prepend '+174'
('52',)
+17452
list(char) -> list(char)
Abbreviate words separated by ')'
('83)56',)
8.5.
list(char) -> list(char)
slice-k-n with k=3 and n=4
([15, 11, 1, 3, 16, 2, 15, 2, 16, 5],)
[1, 3, 16, 2]
list(int) -> list(int)
kth-largest with k=3
([2, 14, 6, 12, 15],)
12
list(int) -> int
Append 2 strings (IIII)
('Marcus', '776')
Marcus776
list(char) -> list(char) -> list(char)
drop first word delimited by '-'
('62-Temple',)
Temple
list(char) -> list(char)
append-k with k=5
([9],)
[9, 5]
list(int) -> list(int)
Prepend '+174'
('851',)
+174851
list(char) -> list(char)
slice-k-n with k=2 and n=2
([12, 2, 10, 14, 4, 0, 4],)
[2, 10]
list(int) -> list(int)
has-k with k=4
([4, 4, 4, 4, 4],)
True
list(int) -> bool
last
([6, 1, 4, 12, 12, 0],)
0
list(int) -> int
last
([1, 1, 2, 1],)
1
list(int) -> int
has-k with k=3
([],)
False
list(int) -> bool
Append two words delimited by ' '
('Mariel', 'Harvard')
Mariel Harvard
list(char) -> list(char) -> list(char)
parentheses around a single word (II)
('Honda',)
(Honda)
list(char) -> list(char)
parentheses around word delimited by ',' & ','
('+174,Bradford,University',)
+174,(Bradford),University
list(char) -> list(char)
replace-all-with-index-k with k=3
([12, 6, 11, 4],)
[11, 11, 11, 11]
list(int) -> list(int)
take-k with k=5
([1, 10, 9, 6, 10, 14, 7, 11, 16, 15],)
[1, 10, 9, 6, 10]
list(int) -> list(int)
max
([15, 14, 11, 7, 12, 0, 15],)
15
list(int) -> int
Append two words delimited by '.-'
('Mackenzie', '163')
Mackenzie.-163
list(char) -> list(char) -> list(char)
drop first word delimited by ')'
('Heintz)Babiarz)University',)
Babiarz)University
list(char) -> list(char)
caesar-cipher-k-modulo-n with k=3 and n=5
([],)
[]
list(int) -> list(int)
Prepend 'Carlene' to first word
('+155 45',)
Carlene+155
list(char) -> list(char)
caesar-cipher-k-modulo-n with k=1 and n=5
([1, 0, 2, 2, 2, 0, 2],)
[2, 1, 3, 3, 3, 1, 3]
list(int) -> list(int)
len
([0],)
1
list(int) -> int
slice-k-n with k=2 and n=2
([8, 3, 9, 11, 15, 7, 13, 4],)
[3, 9]
list(int) -> list(int)
Prepend 'UCLA'
('MI',)
UCLAMI
list(char) -> list(char)
bool-identify-k with k=0
([16, 15, 11],)
[False, False, False]
list(int) -> list(bool)
Replace '(' w/ '.'
('C(40',)
C.40
list(char) -> list(char)
nth (n=0) word delimited by ' '
('42 597 J',)
42
list(char) -> list(char)
has-k with k=0
([13],)
False
list(int) -> bool
nth (n=1) word delimited by '-'
('504-Jeanice-K',)
Jeanice
list(char) -> list(char)