description
stringlengths
3
46
input
stringlengths
4
74
output
stringlengths
1
90
types
stringclasses
9 values
kth-largest with k=3
([10, 15, 13, 9, 13, 15, 7, 12, 3, 14],)
14
list(int) -> int
nth (n=0) word delimited by '-'
('+172-Penn-Chilcott-E',)
+172
list(char) -> list(char)
Append 2 strings (IIIII)
('Alaina', '7')
Alaina7
list(char) -> list(char) -> list(char)
slice-k-n with k=5 and n=3
([7, 0, 11, 0, 13, 2, 10, 5, 10, 8],)
[13, 2, 10]
list(int) -> list(int)
append-index-k with k=4
([0, 13, 3, 9, 14, 2, 1, 16, 7, 11, 7],)
[0, 13, 3, 9, 14, 2, 1, 16, 7, 11, 7, 9]
list(int) -> list(int)
bool-identify-geq-k with k=2
([8, 5, 9, 13, 1, 13],)
[True, True, True, True, False, True]
list(int) -> list(bool)
caesar-cipher-k-modulo-n with k=1 and n=2
([0, 1, 0, 1, 0],)
[1, 0, 1, 0, 1]
list(int) -> list(int)
Append two words delimited by '.'
('632', '836')
632.836
list(char) -> list(char) -> list(char)
index-k with k=3
([12, 4, 1, 1],)
1
list(int) -> int
count-head-in-tail
([4, 2, 6, 10, 8, 12],)
0
list(int) -> int
nth (n=1) word delimited by ','
('Sergienko,009,Jacquiline,Sergienko',)
009
list(char) -> list(char)
Prepend 'UCLA'
('Ferrari',)
UCLAFerrari
list(char) -> list(char)
parentheses around word delimited by ',' & ' '
(',Samuel Stefany.+185',)
,(Samuel) Stefany.+185
list(char) -> list(char)
fibonacci
(9,)
34
int -> int
Abbreviate separate words (III)
('038', 'Hornak')
0.H.
list(char) -> list(char) -> list(char)
is-odds
([13, 3, 9, 25, 25],)
True
list(int) -> bool
parentheses around second word
('Trinidad 311 33',)
(311)
list(char) -> list(char)
Replace ' ' w/ '('
('035 Penn Hornak',)
035(Penn(Hornak
list(char) -> list(char)
add-k with k=2
([],)
[]
list(int) -> list(int)
pow-k with k=2
([16, 15, 1, 12, 4, 0, 0],)
[256, 225, 1, 144, 16, 0, 0]
list(int) -> list(int)
Prepend 'Hornak'
('865',)
Hornak865
list(char) -> list(char)
parentheses around a single word (I)
('Halpern',)
(Halpern)
list(char) -> list(char)
parentheses around word delimited by ',' & ' '
(',Samuel Stefany.+185',)
,(Samuel) Stefany.+185
list(char) -> list(char)
is-mod-k with k=2
([18, 12, 18, 22, 14, 10, 10],)
True
list(int) -> bool
Append '636'
('C',)
C636
list(char) -> list(char)
nth (n=-1) word delimited by '('
('N(Spell(Babiarz(MD',)
MD
list(char) -> list(char)
prepend-index-k with k=5
([14, 7, 0, 4, 12, 2, 4, 13, 6],)
[12, 14, 7, 0, 4, 12, 2, 4, 13, 6]
list(int) -> list(int)
Abbreviate words separated by '.'
('817.33',)
8.3.
list(char) -> list(char)
sort-and-deduplicate
([10, 1, 0, 3],)
[0, 1, 3, 10]
list(int) -> list(int)
modulo-k with k=1
([],)
[]
list(int) -> list(int)
is-evens
([22, 2, 20],)
True
list(int) -> bool
parentheses around a single word (IIII)
('Harvard',)
(Harvard)
list(char) -> list(char)
slice-k-n with k=2 and n=2
([11, 7, 5, 13, 0, 4, 14, 8, 3, 10],)
[7, 5]
list(int) -> list(int)
nth (n=0) word delimited by ' '
('Q +108 Desiree',)
Q
list(char) -> list(char)
Extract word delimited by ')' - ','
('963)Kathlyn,Melodi,Spagnoli',)
Kathlyn
list(char) -> list(char)
Abbreviate separate words (IIII)
('M', '145')
M.1.
list(char) -> list(char) -> list(char)
index-k with k=1
([2, 12, 11, 14, 15, 9, 8],)
2
list(int) -> int
drop first word delimited by ','
('Rice,Partida,894,40',)
Partida,894,40
list(char) -> list(char)
Prepend '+167' to first word
('+169 29',)
+167+169
list(char) -> list(char)
last
([15, 0, 1, 3, 16, 9, 7],)
7
list(int) -> int
Take first 2 characters
('334',)
33
list(char) -> list(char)
ensure suffix `568`
('+194 517 Bobo568',)
+194 517 Bobo568
list(char) -> list(char)
slice-k-n with k=2 and n=5
([14, 1, 7, 10, 5, 11, 16, 8, 1, 1, 14, 16, 0, 14, 14],)
[1, 7, 10, 5, 11]
list(int) -> list(int)
Drop last 3 characters
('012',)
null
list(char) -> list(char)
slice-k-n with k=5 and n=1
([8, 3, 7, 9, 3, 8, 10, 9],)
[3]
list(int) -> list(int)
prepend-index-k with k=3
([7, 8, 1, 6, 16, 11],)
[1, 7, 8, 1, 6, 16, 11]
list(int) -> list(int)
Abbreviate separate words (II)
('York', 'Madelaine')
Y.M.
list(char) -> list(char) -> list(char)
Abbreviate separate words (IIIII)
('Ducati125', '46')
D.4.
list(char) -> list(char) -> list(char)
ensure suffix `Columbia`
('158 Quashie Hage',)
158 Quashie HageColumbia
list(char) -> list(char)
Prepend 'Spell'
('358',)
Spell358
list(char) -> list(char)
Drop last 3 characters
('Hage',)
H
list(char) -> list(char)
Prepend 'Spell'
('Aylward',)
SpellAylward
list(char) -> list(char)
add-k with k=4
([10, 8],)
[14, 12]
list(int) -> list(int)
sort-and-deduplicate
([10, 2],)
[2, 10]
list(int) -> list(int)
Append two words delimited by '..'
('Ferrari', 'Angeles')
Ferrari..Angeles
list(char) -> list(char) -> list(char)
remove gt 0
([2, 0, 5, 6, 5],)
[0]
list(int) -> list(int)
Append 'Angeles'
('+199',)
+199Angeles
list(char) -> list(char)
rotate-k with k=2
([10, 1, 13, 5, 13, 14, 7, 6, 6, 0],)
[6, 0, 10, 1, 13, 5, 13, 14, 7, 6]
list(int) -> list(int)
prepend-index-k with k=4
([14, 10, 5, 16, 1, 1, 4, 13, 16, 15],)
[16, 14, 10, 5, 16, 1, 1, 4, 13, 16, 15]
list(int) -> list(int)
nth (n=-1) word delimited by ' '
('CA Vena 23 Hopkins',)
Hopkins
list(char) -> list(char)
ensure suffix `769`
('+169 +163 +129 46',)
+169 +163 +129 46769
list(char) -> list(char)
Append two words delimited by ' -'
('779', 'Withers')
779 -Withers
list(char) -> list(char) -> list(char)
Prepend 'Jani'
('Honda550',)
JaniHonda550
list(char) -> list(char)
nth (n=0) word delimited by ' '
('42 597 J',)
42
list(char) -> list(char)
nth (n=-1) word delimited by '('
('Berkeley(557(29',)
29
list(char) -> list(char)
append-index-k with k=2
([13, 12, 1, 2, 5, 1, 14],)
[13, 12, 1, 2, 5, 1, 14, 12]
list(int) -> list(int)
nth (n=0) word delimited by '('
('Lango(Desiree',)
Lango
list(char) -> list(char)
First letters of words (IIII)
('310 817 Q +185',)
38Q+
list(char) -> list(char)
parentheses around second word
('Trinidad 311 33',)
(311)
list(char) -> list(char)
Replace ' ' w/ '('
('52 622',)
52(622
list(char) -> list(char)
First letters of words (IIII)
('310 817 Q +185',)
38Q+
list(char) -> list(char)
Replace '-' w/ ' '
('759-Bogle',)
759 Bogle
list(char) -> list(char)
First letters of words (IIIIII)
('+155 174 Dr Haven',)
+1DH
list(char) -> list(char)
drop first word delimited by '-'
('California-+158-Ghoston-82',)
+158-Ghoston-82
list(char) -> list(char)
sort
([15],)
[15]
list(int) -> list(int)
caesar-cipher-k-modulo-n with k=1 and n=3
([0, 0, 0, 2, 2],)
[1, 1, 1, 0, 0]
list(int) -> list(int)
prepend-k with k=4
([11, 11, 5, 7],)
[4, 11, 11, 5, 7]
list(int) -> list(int)
Drop last 4 characters
('Santa',)
S
list(char) -> list(char)
rotate-k with k=5
([1, 3, 9, 11, 15, 2],)
[3, 9, 11, 15, 2, 1]
list(int) -> list(int)
Take first 4 characters
('+106',)
+106
list(char) -> list(char)
head
([11, 13, 15, 15, 0, 1, 3],)
11
list(int) -> int
keep eq 2
([4, 1, 6, 2, 2],)
[2, 2]
list(int) -> list(int)
Append 'Angeles'
('Celsa',)
CelsaAngeles
list(char) -> list(char)
slice-k-n with k=4 and n=3
([14, 15, 0, 16, 4, 11, 2, 13, 7, 5, 8],)
[16, 4, 11]
list(int) -> list(int)
drop-k with k=5
([16, 7, 3, 14, 4, 9, 1, 13, 4, 8, 6],)
[9, 1, 13, 4, 8, 6]
list(int) -> list(int)
reverse
([2],)
[2]
list(int) -> list(int)
Take first character and append '-'
('+158',)
+-
list(char) -> list(char)
remove-index-k with k=2
([3, 11],)
[3]
list(int) -> list(int)
kth-smallest with k=3
([15, 1, 4],)
15
list(int) -> int
Append two words delimited by ' -'
('622', 'Andrew')
622 -Andrew
list(char) -> list(char) -> list(char)
Append two words delimited by '-'
('119', 'Harvard')
119-Harvard
list(char) -> list(char) -> list(char)
is-evens
([8, 3],)
False
list(int) -> bool
Prepend '177' to first word
('421 Annalisa',)
177421
list(char) -> list(char)
ensure suffix `568`
('MD Hopkins 394',)
MD Hopkins 394568
list(char) -> list(char)
Append 'Beata'
('Eccleston',)
EcclestonBeata
list(char) -> list(char)
slice-k-n with k=2 and n=1
([12, 10, 1, 9, 6],)
[10]
list(int) -> list(int)
take-k with k=5
([13, 0, 12, 14, 15, 15],)
[13, 0, 12, 14, 15]
list(int) -> list(int)
Extract word delimited by '(' - '('
('Andria(Honda125(+75(Malissa',)
Honda125
list(char) -> list(char)
parentheses around a single word (IIIII)
('Acura',)
(Acura)
list(char) -> list(char)
Replace '-' w/ ','
('834-Cruz-+197-Clasen',)
834,Cruz,+197,Clasen
list(char) -> list(char)