description
stringlengths
3
46
input
stringlengths
4
74
output
stringlengths
1
90
types
stringclasses
9 values
drop-k with k=1
([9, 9, 15],)
[9, 15]
list(int) -> list(int)
nth (n=0) word delimited by '-'
('64-836-197-Michigan',)
64
list(char) -> list(char)
has-k with k=2
([15, 16],)
False
list(int) -> bool
Drop last 3 characters
('857',)
null
list(char) -> list(char)
Replace '(' w/ ' '
('377(209(+118',)
377 209 +118
list(char) -> list(char)
repeat-k with k=4
([3, 1, 12, 6],)
[3, 1, 12, 6, 3, 1, 12, 6, 3, 1, 12, 6, 3, 1, 12, 6]
list(int) -> list(int)
Replace ',' w/ '('
('820,Connecticut',)
820(Connecticut
list(char) -> list(char)
Abbreviate words separated by '('
('Jeanice(Acura',)
J.A.
list(char) -> list(char)
slice-k-n with k=1 and n=4
([12, 3, 1, 10, 12, 2, 13, 5, 5],)
[12, 3, 1, 10]
list(int) -> list(int)
replace-all-with-index-k with k=5
([4, 10, 1, 16, 2, 11, 10, 12, 4, 10, 8, 6],)
[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]
list(int) -> list(int)
caesar-cipher-k-modulo-n with k=2 and n=4
([],)
[]
list(int) -> list(int)
append-k with k=1
([8],)
[8, 1]
list(int) -> list(int)
nth (n=0) word delimited by ')'
('+105)046)Casler',)
+105
list(char) -> list(char)
Append two words delimited by ' '
('Lain', 'Irwin')
Lain Irwin
list(char) -> list(char) -> list(char)
Replace ',' w/ '.'
('Reily,Madelaine',)
Reily.Madelaine
list(char) -> list(char)
bool-identify-geq-k with k=3
([7],)
[True]
list(int) -> list(bool)
Append two words delimited by '. '
('Haven', '575')
Haven. 575
list(char) -> list(char) -> list(char)
replace-all-with-index-k with k=1
([15, 7, 0, 9, 9, 7, 10],)
[15, 15, 15, 15, 15, 15, 15]
list(int) -> list(int)
take-k with k=2
([14, 7, 1, 11],)
[14, 7]
list(int) -> list(int)
Append 2 strings (III)
('Tobias', '58')
Tobias58
list(char) -> list(char) -> list(char)
Prepend 'Jani'
('Honda550',)
JaniHonda550
list(char) -> list(char)
fibonacci
(8,)
21
int -> int
caesar-cipher-k-modulo-n with k=2 and n=5
([4, 3, 2, 4, 2],)
[1, 0, 4, 1, 4]
list(int) -> list(int)
take-k with k=3
([15, 7, 11, 10, 10, 9, 8],)
[15, 7, 11]
list(int) -> list(int)
drop first word delimited by ','
('Nancy,Beata,512,864',)
Beata,512,864
list(char) -> list(char)
Take first character and append '('
('82',)
8(
list(char) -> list(char)
append-index-k with k=3
([1, 2, 1, 7, 12, 15, 12, 13, 11, 4],)
[1, 2, 1, 7, 12, 15, 12, 13, 11, 4, 1]
list(int) -> list(int)
bool-identify-k with k=3
([],)
[]
list(int) -> list(bool)
remove gt 1
([4, 1, 3, 3, 1],)
[1, 1]
list(int) -> list(int)
parentheses around a single word (III)
('Ducati',)
(Ducati)
list(char) -> list(char)
add-k with k=4
([9, 10, 10],)
[13, 14, 14]
list(int) -> list(int)
slice-k-n with k=4 and n=5
([7, 8, 2, 2, 13, 15, 0, 9, 8, 8, 13, 13, 10, 11, 7],)
[2, 13, 15, 0, 9]
list(int) -> list(int)
is-mod-k with k=1
([6, 0, 14, 0, 2, 12],)
True
list(int) -> bool
Abbreviate words separated by '('
('+180(P',)
+.P.
list(char) -> list(char)
Prepend 'Sergienko'
('009',)
Sergienko009
list(char) -> list(char)
has-k with k=1
([11, 1, 7, 8, 4, 5, 6],)
True
list(int) -> bool
nth (n=0) word delimited by '('
('Lango(Desiree',)
Lango
list(char) -> list(char)
count-k with k=0
([0, 7],)
1
list(int) -> int
parentheses around second word
('California 86',)
(86)
list(char) -> list(char)
keep-mod-k with k=4
([24, 16, 28, 4, 0],)
[24, 16, 28, 4, 0]
list(int) -> list(int)
parentheses around a single word (II)
('29',)
(29)
list(char) -> list(char)
ensure suffix `Columbia`
('158 Quashie Hage',)
158 Quashie HageColumbia
list(char) -> list(char)
Take first character and append '-'
('Chong',)
C-
list(char) -> list(char)
Take first character and append ','
('Ramthun',)
R,
list(char) -> list(char)
rotate-k with k=5
([15, 16, 5, 13, 10, 5, 4, 3, 7, 1, 5, 10],)
[3, 7, 1, 5, 10, 15, 16, 5, 13, 10, 5, 4]
list(int) -> list(int)
index-k with k=2
([11, 13, 10, 6, 8],)
13
list(int) -> int
First letters of words (IIIIII)
('+155 174 Dr Haven',)
+1DH
list(char) -> list(char)
caesar-cipher-k-modulo-n with k=1 and n=2
([0, 1, 0],)
[1, 0, 1]
list(int) -> list(int)
Take first character and append ')'
('+169',)
+)
list(char) -> list(char)
Append two words delimited by ','
('2', 'Garrard')
2,Garrard
list(char) -> list(char) -> list(char)
take-k with k=5
([1, 0, 12, 11, 11, 0, 15, 1, 4, 6, 11],)
[1, 0, 12, 11, 11]
list(int) -> list(int)
remove eq 2
([0, 1, 6, 0, 1],)
[0, 1, 6, 0, 1]
list(int) -> list(int)
is-primes
([13, 14],)
False
list(int) -> bool
Abbreviate words separated by ','
('R,+108',)
R.+.
list(char) -> list(char)
Take first character and append ','
('56',)
5,
list(char) -> list(char)
prepend-k with k=1
([16, 3, 3, 9, 11, 6, 0],)
[1, 16, 3, 3, 9, 11, 6, 0]
list(int) -> list(int)
kth-largest with k=4
([12, 10, 12, 0, 2, 10, 9, 6],)
10
list(int) -> int
ensure suffix `997`
('Marcus +108 Ramthun Rudolf',)
Marcus +108 Ramthun Rudolf997
list(char) -> list(char)
pow-k with k=4
([12, 15],)
[20736, 50625]
list(int) -> list(int)
nth (n=-1) word delimited by '.'
('197.58',)
58
list(char) -> list(char)
slice-k-n with k=1 and n=4
([5, 8, 11, 0, 0, 13, 3, 11, 1, 2, 12, 15, 5],)
[5, 8, 11, 0]
list(int) -> list(int)
ensure suffix `568`
('+47 P568',)
+47 P568
list(char) -> list(char)
nth (n=1) word delimited by ' '
('Soderstrom Scalia',)
Scalia
list(char) -> list(char)
slice-k-n with k=5 and n=3
([14, 15, 15, 9, 3, 7, 7, 6, 8, 1, 1, 7, 9],)
[3, 7, 7]
list(int) -> list(int)
Append '+138'
('Hopkins',)
Hopkins+138
list(char) -> list(char)
nth (n=1) word delimited by ' '
('Soderstrom Scalia',)
Scalia
list(char) -> list(char)
rotate-k with k=2
([14, 12, 16, 4, 3, 7, 13, 13, 0, 6, 4, 12, 10, 10, 0, 5, 7],)
[5, 7, 14, 12, 16, 4, 3, 7, 13, 13, 0, 6, 4, 12, 10, 10, 0]
list(int) -> list(int)
Append two words delimited by ' '
('Malissa', 'Philadelphia')
Malissa Philadelphia
list(char) -> list(char) -> list(char)
pow-k with k=3
([5, 16, 10, 16, 8, 7],)
[125, 4096, 1000, 4096, 512, 343]
list(int) -> list(int)
Append two words delimited by '.'
('+2', 'Jacquiline')
+2.Jacquiline
list(char) -> list(char) -> list(char)
slice-k-n with k=1 and n=5
([10, 0, 10, 4, 4, 5, 5, 2, 13, 14, 13, 6, 3],)
[10, 0, 10, 4, 4]
list(int) -> list(int)
kth-largest with k=4
([4, 8, 4, 5],)
4
list(int) -> int
index-head
([2, 3, 4],)
4
list(int) -> int
nth (n=-1) word delimited by ' '
('Park +183 186',)
186
list(char) -> list(char)
Replace '-' w/ ' '
('Jacqualine-62',)
Jacqualine 62
list(char) -> list(char)
keep-mod-k with k=3
([5, 16, 12],)
[12]
list(int) -> list(int)
nth (n=0) word delimited by ','
('+115,+106',)
+115
list(char) -> list(char)
nth (n=1) word delimited by ','
('Tobias,986,FreeHafer,+9',)
986
list(char) -> list(char)
Replace ',' w/ '.'
('017,Celsa',)
017.Celsa
list(char) -> list(char)
tail
([0, 1, 0, 2, 11, 0],)
[1, 0, 2, 11, 0]
list(int) -> list(int)
Abbreviate separate words (IIII)
('S', 'Beata')
S.B.
list(char) -> list(char) -> list(char)
take-k with k=2
([14, 7, 1, 11],)
[14, 7]
list(int) -> list(int)
is-squares
([196, 49, 9, 1, 81, 81, 25],)
True
list(int) -> bool
repeat-k with k=5
([7, 6],)
[7, 6, 7, 6, 7, 6, 7, 6, 7, 6]
list(int) -> list(int)
Drop last 3 characters
('Brescia',)
Bres
list(char) -> list(char)
Drop last 2 characters
('Nancy',)
Nan
list(char) -> list(char)
add-k with k=3
([8, 6, 10],)
[11, 9, 13]
list(int) -> list(int)
Take first 5 characters
('Gregori',)
Grego
list(char) -> list(char)
parentheses around first word
('415 +115 484',)
(415)
list(char) -> list(char)
nth (n=0) word delimited by ' '
('42 597 J',)
42
list(char) -> list(char)
Append 'Angeles'
('+199',)
+199Angeles
list(char) -> list(char)
remove-mod-head
([3, 21, 9, 15],)
[]
list(int) -> list(int)
slice-k-n with k=4 and n=1
([7, 8, 3, 14, 10, 10],)
[14]
list(int) -> list(int)
Abbreviate words separated by '-'
('Mackenzie-K',)
M.K.
list(char) -> list(char)
Drop last 5 characters
('Mcgaughey',)
Mcga
list(char) -> list(char)
slice-k-n with k=4 and n=4
([4, 7, 13, 4, 7, 13, 5, 10, 8, 8, 11],)
[4, 7, 13, 5]
list(int) -> list(int)
caesar-cipher-k-modulo-n with k=1 and n=4
([2, 3, 2],)
[3, 0, 3]
list(int) -> list(int)
Append 'Angeles'
('Spell',)
SpellAngeles
list(char) -> list(char)
ensure suffix `Scalia`
('UIUC 526',)
UIUC 526Scalia
list(char) -> list(char)
Extract word delimited by ')' - ','
('244)Karrie,Lashanda)Kimberley',)
Karrie
list(char) -> list(char)