description
stringlengths
3
46
input
stringlengths
4
74
output
stringlengths
1
90
types
stringclasses
9 values
product
([7, 1, 6, 2],)
84
list(int) -> int
Abbreviate separate words (I)
('62', 'Ramthun')
6.R.
list(char) -> list(char) -> list(char)
parentheses around word delimited by ' ' & ' '
('Honda250 Melodi +9-Kotas',)
Honda250 (Melodi) +9-Kotas
list(char) -> list(char)
take-k with k=3
([2, 13, 16, 16, 1],)
[2, 13, 16]
list(int) -> list(int)
slice-k-n with k=3 and n=3
([16, 10, 5, 13, 10, 7, 5],)
[5, 13, 10]
list(int) -> list(int)
append-k with k=5
([13, 3],)
[13, 3, 5]
list(int) -> list(int)
slice-k-n with k=3 and n=3
([9, 6, 3, 12, 2, 3, 11, 6, 2, 7, 11, 2, 13, 8],)
[3, 12, 2]
list(int) -> list(int)
remove gt 2
([2, 1, 0, 5, 6],)
[2, 1, 0]
list(int) -> list(int)
append-index-k with k=3
([15, 13, 7, 2, 4, 10],)
[15, 13, 7, 2, 4, 10, 7]
list(int) -> list(int)
caesar-cipher-k-modulo-n with k=1 and n=5
([1, 2, 4, 1, 0],)
[2, 3, 0, 2, 1]
list(int) -> list(int)
modulo-k with k=5
([7],)
[2]
list(int) -> list(int)
nth (n=-1) word delimited by ')'
('539)027)42',)
42
list(char) -> list(char)
nth (n=0) word delimited by ' '
('Q +108 Desiree',)
Q
list(char) -> list(char)
Prepend '+174'
('851',)
+174851
list(char) -> list(char)
Append 'Cornell'
('IL',)
ILCornell
list(char) -> list(char)
add-k with k=3
([1, 9, 7, 8],)
[4, 12, 10, 11]
list(int) -> list(int)
slice-k-n with k=2 and n=2
([2, 14, 5, 16, 3, 7, 15, 3],)
[14, 5]
list(int) -> list(int)
repeat-k with k=3
([2],)
[2, 2, 2]
list(int) -> list(int)
count-k with k=3
([3, 3, 3, 3, 3, 6, 3],)
6
list(int) -> int
Replace ',' w/ '.'
('Reily,Madelaine',)
Reily.Madelaine
list(char) -> list(char)
replace-all-with-index-k with k=2
([5, 10, 7],)
[10, 10, 10]
list(int) -> list(int)
nth (n=-1) word delimited by ' '
('Edison 29 938 W',)
W
list(char) -> list(char)
empty
([12, 15],)
False
list(int) -> bool
nth (n=1) word delimited by ')'
('R)+144',)
+144
list(char) -> list(char)
Append two words delimited by '. '
('Philadelphia', '433')
Philadelphia. 433
list(char) -> list(char) -> list(char)
prepend-index-k with k=2
([15, 14, 13],)
[14, 15, 14, 13]
list(int) -> list(int)
rotate-k with k=2
([2, 7, 8, 16, 10, 0, 10, 8, 9, 8, 1, 9, 3],)
[9, 3, 2, 7, 8, 16, 10, 0, 10, 8, 9, 8, 1]
list(int) -> list(int)
Abbreviate words separated by '-'
('941-162',)
9.1.
list(char) -> list(char)
slice-k-n with k=3 and n=2
([1, 1, 6, 15, 11, 7, 1, 6, 8, 14],)
[6, 15]
list(int) -> list(int)
bool-identify-is-mod-k with k=4
([11, 12, 7],)
[False, True, False]
list(int) -> list(bool)
ensure suffix `769`
('Andria +140 Spell',)
Andria +140 Spell769
list(char) -> list(char)
sum
([2],)
2
list(int) -> int
bool-identify-is-mod-k with k=3
([2, 3, 16],)
[False, True, False]
list(int) -> list(bool)
drop first word delimited by ' '
('Bess Berkeley',)
Berkeley
list(char) -> list(char)
pop
([1, 1, 2, 1],)
[1, 1, 2]
list(int) -> list(int)
ensure suffix `Ramthun`
('Ghoston Bobo Scalia Chism',)
Ghoston Bobo Scalia ChismRamthun
list(char) -> list(char)
Drop last 4 characters
('+167',)
null
list(char) -> list(char)
modulo-k with k=1
([15, 9, 8, 8, 4, 3],)
[0, 0, 0, 0, 0, 0]
list(int) -> list(int)
pow-k with k=3
([7, 10, 9, 7, 8, 8],)
[343, 1000, 729, 343, 512, 512]
list(int) -> list(int)
parentheses around a single word (I)
('+140',)
(+140)
list(char) -> list(char)
Drop last 4 characters
('+167',)
null
list(char) -> list(char)
prepend-k with k=3
([0, 2, 11, 9, 3],)
[3, 0, 2, 11, 9, 3]
list(int) -> list(int)
take-k with k=5
([7, 16, 10, 1, 4, 4, 3, 1, 1, 1],)
[7, 16, 10, 1, 4]
list(int) -> list(int)
nth (n=0) word delimited by '('
('C(98',)
C
list(char) -> list(char)
keep eq 1
([6, 1, 6, 1, 3],)
[1, 1]
list(int) -> list(int)
append-index-k with k=4
([14, 7, 10, 3, 1, 4],)
[14, 7, 10, 3, 1, 4, 3]
list(int) -> list(int)
remove gt 0
([2, 6, 4, 2, 3],)
[]
list(int) -> list(int)
count-k with k=0
([12],)
0
list(int) -> int
bool-identify-is-mod-k with k=4
([8, 14],)
[True, False]
list(int) -> list(bool)
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)
prepend-index-k with k=4
([1, 10, 1, 10, 5, 16],)
[10, 1, 10, 1, 10, 5, 16]
list(int) -> list(int)
pow-k with k=4
([5, 11, 4, 14, 13],)
[625, 14641, 256, 38416, 28561]
list(int) -> list(int)
Append 2 strings (IIIIII)
('Garrard', '+141')
Garrard+141
list(char) -> list(char) -> list(char)
Append two words delimited by ' -'
('Q', 'Phillip')
Q -Phillip
list(char) -> list(char) -> list(char)
slice-k-n with k=3 and n=3
([9, 5, 7, 11, 0, 7, 16],)
[7, 11, 0]
list(int) -> list(int)
Append 2 strings (IIIIII)
('Garrard', '+141')
Garrard+141
list(char) -> list(char) -> list(char)
Append 2 strings (II)
('+163', '+141')
+163+141
list(char) -> list(char) -> list(char)
has-k with k=3
([],)
False
list(int) -> bool
take-k with k=2
([15, 0, 16, 1, 2, 5],)
[15, 0]
list(int) -> list(int)
ensure suffix `Scalia`
('Ramthun Beata Chism FreeHaferScalia',)
Ramthun Beata Chism FreeHaferScalia
list(char) -> list(char)
Abbreviate words separated by '('
('+180(P',)
+.P.
list(char) -> list(char)
nth (n=1) word delimited by '.'
('Karrie.Covelli.882.+129',)
Covelli
list(char) -> list(char)
remove empty lists
([[True, True, False], [True, False, False], [True, True, True], []],)
[[True, True, False], [True, False, False], [True, True, True]]
list(list(bool)) -> list(list(bool))
Replace '(' w/ '.'
('C(40',)
C.40
list(char) -> list(char)
slice-k-n with k=2 and n=3
([5, 11, 2, 6, 5, 15, 7, 0, 10, 16],)
[11, 2, 6]
list(int) -> list(int)
index-k with k=1
([6, 1, 4, 12, 12, 0],)
6
list(int) -> int
remove eq 3
([0, 5, 3, 0, 6],)
[0, 5, 0, 6]
list(int) -> list(int)
has-k with k=1
([1, 1, 1, 1],)
True
list(int) -> bool
last
([8],)
8
list(int) -> int
count-k with k=3
([3, 3, 3, 3, 3, 6, 3],)
6
list(int) -> int
repeat
([7, 6],)
[6, 6, 6, 6, 6, 6, 6]
list(int) -> list(int)
caesar-cipher-k-modulo-n with k=5 and n=3
([2],)
[1]
list(int) -> list(int)
sort
([7, 2, 10, 13],)
[2, 7, 10, 13]
list(int) -> list(int)
kth-largest with k=4
([7, 14, 14, 11, 8, 14, 3, 8, 6, 1],)
11
list(int) -> int
drop-k with k=2
([15, 11, 4, 15, 14, 16, 2],)
[4, 15, 14, 16, 2]
list(int) -> list(int)
replace-all-with-index-k with k=4
([10, 15, 6, 9, 2],)
[9, 9, 9, 9, 9]
list(int) -> list(int)
Drop last 2 characters
('MI',)
null
list(char) -> list(char)
append-index-k with k=1
([0, 1, 7],)
[0, 1, 7, 0]
list(int) -> list(int)
Take first character and append '-'
('Chong',)
C-
list(char) -> list(char)
Prepend '177' to first word
('Jacqualine +180',)
177Jacqualine
list(char) -> list(char)
keep primes
([11, 2, 4, 5, 5, 7, 8],)
[11, 2, 5, 5, 7]
list(int) -> list(int)
slice-k-n with k=1 and n=2
([11, 3, 6, 11, 12, 6],)
[11, 3]
list(int) -> list(int)
slice-k-n with k=1 and n=1
([9, 2, 11, 7],)
[9]
list(int) -> list(int)
Extract word delimited by ')' - ','
('963)Kathlyn,Melodi,Spagnoli',)
Kathlyn
list(char) -> list(char)
caesar-cipher-k-modulo-n with k=4 and n=3
([1, 0, 0, 2, 0, 1],)
[2, 1, 1, 0, 1, 2]
list(int) -> list(int)
sum
([8, 5],)
13
list(int) -> int
is-mod-k with k=4
([],)
True
list(int) -> bool
prepend-index-k with k=3
([3, 15, 13, 1, 8, 13, 9, 6],)
[13, 3, 15, 13, 1, 8, 13, 9, 6]
list(int) -> list(int)
Prepend 'Ghoston' to first word
('125 +118',)
Ghoston125
list(char) -> list(char)
keep gt 3
([3, 2, 6, 0, 5],)
[6, 5]
list(int) -> list(int)
index-k with k=4
([12, 9, 0, 0, 5],)
0
list(int) -> int
ensure suffix `Scalia`
('Ramthun Beata Chism FreeHaferScalia',)
Ramthun Beata Chism FreeHaferScalia
list(char) -> list(char)
bool-identify-geq-k with k=0
([5, 2, 5, 8, 2, 2],)
[True, True, True, True, True, True]
list(int) -> list(bool)
Append two words delimited by ' '
('+155', 'Bobo')
+155 Bobo
list(char) -> list(char) -> list(char)
Append two words delimited by ')'
('Vena', 'Eccleston')
Vena)Eccleston
list(char) -> list(char) -> list(char)
keep gt 2
([5, 2, 4, 1, 3],)
[5, 4, 3]
list(int) -> list(int)
append-index-k with k=1
([1, 4, 8, 4, 0, 16, 13],)
[1, 4, 8, 4, 0, 16, 13, 1]
list(int) -> list(int)
Take first character and append '.'
('+46',)
+.
list(char) -> list(char)
remove eq 2
([5, 0, 6, 6, 5],)
[5, 0, 6, 6, 5]
list(int) -> list(int)
replace-all-with-index-k with k=1
([14, 10],)
[14, 14]
list(int) -> list(int)