description
stringlengths
3
46
input
stringlengths
4
74
output
stringlengths
1
90
types
stringclasses
9 values
Append two words delimited by ' '
('Mariel', 'Harvard')
Mariel Harvard
list(char) -> list(char) -> list(char)
mult-k with k=5
([3, 6, 6, 16],)
[15, 30, 30, 80]
list(int) -> list(int)
slice-k-n with k=2 and n=3
([2, 13, 8, 6, 3, 9, 0, 11, 6, 7, 4],)
[13, 8, 6]
list(int) -> list(int)
Append two words delimited by '.-'
('Philadelphia', '6')
Philadelphia.-6
list(char) -> list(char) -> list(char)
Append two words delimited by '. '
('Philadelphia', '433')
Philadelphia. 433
list(char) -> list(char) -> list(char)
Take first 2 characters
('334',)
33
list(char) -> list(char)
is-evens
([4, 13, 12, 8, 14, 1, 7],)
False
list(int) -> bool
Extract word delimited by '-' - ')'
('NY-Philadelphia)Ferrari-PA',)
Philadelphia
list(char) -> list(char)
slice-k-n with k=2 and n=4
([11, 0, 1, 12, 11, 4, 8, 0],)
[0, 1, 12, 11]
list(int) -> list(int)
keep gt 3
([6, 1, 6, 2, 5],)
[6, 6, 5]
list(int) -> list(int)
index-k with k=2
([9, 1, 10, 13, 4, 11, 10, 5],)
1
list(int) -> int
has-k with k=0
([1, 8],)
False
list(int) -> bool
caesar-cipher-k-modulo-n with k=2 and n=3
([1, 2, 1],)
[0, 1, 0]
list(int) -> list(int)
is-mod-k with k=3
([39, 9, 45, 9, 6],)
True
list(int) -> bool
keep eq 3
([2, 6, 6, 5, 0],)
[]
list(int) -> list(int)
Take first character and append '-'
('Chong',)
C-
list(char) -> list(char)
has-k with k=1
([1, 1, 1],)
True
list(int) -> bool
Prepend 'Hornak'
('P',)
HornakP
list(char) -> list(char)
parentheses around a single word (II)
('B',)
(B)
list(char) -> list(char)
Append 'Cornell'
('715',)
715Cornell
list(char) -> list(char)
append-k with k=4
([2, 16, 15, 0, 13, 10, 7],)
[2, 16, 15, 0, 13, 10, 7, 4]
list(int) -> list(int)
ensure suffix `568`
('MD Hopkins 394',)
MD Hopkins 394568
list(char) -> list(char)
caesar-cipher-k-modulo-n with k=3 and n=4
([],)
[]
list(int) -> list(int)
is-mod-k with k=4
([28, 0, 44],)
True
list(int) -> bool
nth (n=0) word delimited by '.'
('Maryann.705.Barbara',)
Maryann
list(char) -> list(char)
keep gt 3
([4, 5, 6, 3, 6],)
[4, 5, 6, 6]
list(int) -> list(int)
append-k with k=2
([14, 12, 13, 12, 1],)
[14, 12, 13, 12, 1, 2]
list(int) -> list(int)
pow-k with k=5
([],)
[]
list(int) -> list(int)
Replace '(' w/ ' '
('+194(Alaina',)
+194 Alaina
list(char) -> list(char)
Append two words delimited by ')'
('42', '959')
42)959
list(char) -> list(char) -> list(char)
Append two words delimited by '(,'
('Ducati100', '+176')
Ducati100(,+176
list(char) -> list(char) -> list(char)
index-k with k=5
([4, 3, 1, 4, 0, 6, 0, 14, 13, 12],)
0
list(int) -> int
mult-k with k=3
([10, 8, 2, 12, 9, 11],)
[30, 24, 6, 36, 27, 33]
list(int) -> list(int)
Take first character and append ','
('546',)
5,
list(char) -> list(char)
fibonacci
(8,)
21
int -> int
slice-k-n with k=5 and n=4
([13, 2, 16, 15, 14, 4, 10, 0, 10, 0, 3],)
[14, 4, 10, 0]
list(int) -> list(int)
First letters of words (I)
('Andria Richert 652 Penn',)
AR6P
list(char) -> list(char)
prepend-index-k with k=3
([7, 8, 1, 6, 16, 11],)
[1, 7, 8, 1, 6, 16, 11]
list(int) -> list(int)
Replace ',' w/ '('
('066,+106,Bobo,200',)
066(+106(Bobo(200
list(char) -> list(char)
remove eq 3
([4, 4, 2, 6, 6],)
[4, 4, 2, 6, 6]
list(int) -> list(int)
caesar-cipher-k-modulo-n with k=4 and n=3
([1, 0, 1, 1],)
[2, 1, 2, 2]
list(int) -> list(int)
remove-index-k with k=3
([9, 10, 8, 6, 7, 15, 2, 9, 16],)
[9, 10, 6, 7, 15, 2, 9, 16]
list(int) -> list(int)
remove eq 2
([3, 2, 6, 1, 1],)
[3, 6, 1, 1]
list(int) -> list(int)
nth (n=1) word delimited by '.'
('Ducati125.of.588.843',)
of
list(char) -> list(char)
kth-largest with k=4
([11, 1, 8, 6, 5, 4, 10, 12, 15, 8],)
10
list(int) -> int
nth (n=1) word delimited by '.'
('Bogle.Jani',)
Jani
list(char) -> list(char)
is-mod-k with k=1
([4, 7, 16, 11, 10, 3, 15],)
True
list(int) -> bool
ensure suffix `568`
('+23 10 IL 844',)
+23 10 IL 844568
list(char) -> list(char)
Append two words delimited by '.-'
('2', 'Kotas')
2.-Kotas
list(char) -> list(char) -> list(char)
mult-k with k=5
([8],)
[40]
list(int) -> list(int)
pow-k with k=3
([1, 16, 5, 15, 8, 10, 13],)
[1, 4096, 125, 3375, 512, 1000, 2197]
list(int) -> list(int)
add-k with k=1
([15, 2, 16, 2, 5, 15, 6],)
[16, 3, 17, 3, 6, 16, 7]
list(int) -> list(int)
Replace '.' w/ ')'
('622.270',)
622)270
list(char) -> list(char)
parentheses around word delimited by ',' & ','
('+174,Bradford,University',)
+174,(Bradford),University
list(char) -> list(char)
nth (n=1) word delimited by ')'
('Partida)FreeHafer)+130)D',)
FreeHafer
list(char) -> list(char)
bool-identify-geq-k with k=5
([15, 7, 10, 3, 8],)
[True, True, True, False, True]
list(int) -> list(bool)
Replace '(' w/ '.'
('75(University',)
75.University
list(char) -> list(char)
drop first word delimited by '('
('75(Rice',)
Rice
list(char) -> list(char)
Append 'Beata'
('092',)
092Beata
list(char) -> list(char)
Abbreviate separate words (I)
('Dermody', 'D')
D.D.
list(char) -> list(char) -> list(char)
Append 'Angeles'
('+199',)
+199Angeles
list(char) -> list(char)
slice-k-n with k=4 and n=1
([7, 8, 3, 14, 10, 10],)
[14]
list(int) -> list(int)
rotate-k with k=4
([0, 9, 15, 3, 7],)
[9, 15, 3, 7, 0]
list(int) -> list(int)
Append '+138'
('Hopkins',)
Hopkins+138
list(char) -> list(char)
Append 2 strings (IIII)
('141', '636')
141636
list(char) -> list(char) -> list(char)
drop first word delimited by ')'
('Jeanice)+194)+189)491',)
+194)+189)491
list(char) -> list(char)
index-k with k=1
([0, 7, 3, 15, 11, 1, 16],)
0
list(int) -> int
take-k with k=5
([0, 11, 10, 16, 9, 2, 6],)
[0, 11, 10, 16, 9]
list(int) -> list(int)
Replace '-' w/ ' '
('Jacqualine-62',)
Jacqualine 62
list(char) -> list(char)
ensure suffix `Andria`
('+13 20 +7',)
+13 20 +7Andria
list(char) -> list(char)
parentheses around a single word (I)
('Halpern',)
(Halpern)
list(char) -> list(char)
Prepend 'Carlene' to first word
('43 927',)
Carlene43
list(char) -> list(char)
Prepend '170' to first word
('Malissa 500',)
170Malissa
list(char) -> list(char)
empty
([1, 2, 3],)
False
list(int) -> bool
take-k with k=1
([4, 3, 14],)
[4]
list(int) -> list(int)
Prepend '+167' to first word
('172 Hayley',)
+167172
list(char) -> list(char)
Append 'Cornell'
('101',)
101Cornell
list(char) -> list(char)
Prepend '170' to first word
('Malissa W',)
170Malissa
list(char) -> list(char)
Abbreviate separate words (III)
('+189', '856')
+.8.
list(char) -> list(char) -> list(char)
Drop last 5 characters
('Heintz',)
H
list(char) -> list(char)
Append two words delimited by ' '
('Acura', 'Vena')
Acura Vena
list(char) -> list(char) -> list(char)
prepend-index-k with k=5
([8, 9, 0, 7, 11],)
[11, 8, 9, 0, 7, 11]
list(int) -> list(int)
Append two words delimited by '(,'
('245', '18')
245(,18
list(char) -> list(char) -> list(char)
First letters of words (I)
('C 461 +140 Phillip',)
C4+P
list(char) -> list(char)
bool-identify-geq-k with k=1
([],)
[]
list(int) -> list(bool)
nth (n=-1) word delimited by '('
('Berkeley(557(29',)
29
list(char) -> list(char)
slice-k-n with k=1 and n=2
([10, 3, 10, 2, 4],)
[10, 3]
list(int) -> list(int)
Append two words delimited by '.'
('+2', 'Jacquiline')
+2.Jacquiline
list(char) -> list(char) -> list(char)
Replace ',' w/ '('
('066,+106,Bobo,200',)
066(+106(Bobo(200
list(char) -> list(char)
Extract word delimited by ')' - '-'
('Cruz)+188-Maryann)183',)
+188
list(char) -> list(char)
pow-k with k=5
([4, 4, 12, 7, 13, 9],)
[1024, 1024, 248832, 16807, 371293, 59049]
list(int) -> list(int)
drop-k with k=4
([11, 1, 8, 6, 5, 4, 10, 12, 15, 8],)
[5, 4, 10, 12, 15, 8]
list(int) -> list(int)
repeat-k with k=3
([11, 14],)
[11, 14, 11, 14, 11, 14]
list(int) -> list(int)
Append two words delimited by '('
('Q', 'Ducati250')
Q(Ducati250
list(char) -> list(char) -> list(char)
modulo-k with k=4
([4, 1, 1, 6, 8],)
[0, 1, 1, 2, 0]
list(int) -> list(int)
remove gt 2
([5, 5, 2, 6, 1],)
[2, 1]
list(int) -> list(int)
has-k with k=3
([8, 7],)
False
list(int) -> bool
has-head-in-tail
([5, 14, 14, 1, 7, 9, 4],)
False
list(int) -> bool
Prepend '+174'
('851',)
+174851
list(char) -> list(char)
Abbreviate words separated by '.'
('Cambridge.6',)
C.6.
list(char) -> list(char)