description
stringlengths
3
46
input
stringlengths
4
74
output
stringlengths
1
90
types
stringclasses
9 values
Abbreviate words separated by ' '
('+104 Hayley',)
+.H.
list(char) -> list(char)
drop first word delimited by '('
('75(Rice',)
Rice
list(char) -> list(char)
sort-and-deduplicate
([8, 2, 10, 5],)
[2, 5, 8, 10]
list(int) -> list(int)
Abbreviate words separated by ','
('FreeHafer,Park',)
F.P.
list(char) -> list(char)
keep-mod-head
([1, 15],)
[15]
list(int) -> list(int)
append-k with k=0
([],)
[0]
list(int) -> list(int)
keep eq 1
([5, 0, 5, 3, 2],)
[]
list(int) -> list(int)
replace-all-with-index-k with k=3
([7, 15, 15, 7],)
[15, 15, 15, 15]
list(int) -> list(int)
nth (n=-1) word delimited by ','
('50,+9',)
+9
list(char) -> list(char)
Abbreviate separate words (IIII)
('M', '145')
M.1.
list(char) -> list(char) -> list(char)
Abbreviate words separated by '.'
('817.33',)
8.3.
list(char) -> list(char)
Append 'Cornell'
('Akiyama',)
AkiyamaCornell
list(char) -> list(char)
nth (n=-1) word delimited by ' '
('Edison 29 938 W',)
W
list(char) -> list(char)
kth-largest with k=4
([0, 6, 13, 5, 0, 5, 2, 14, 9, 3],)
6
list(int) -> int
parentheses around word delimited by ' ' & '-'
(' +194-9',)
(+194)-9
list(char) -> list(char)
drop first word delimited by ','
('943,65,216,CA',)
65,216,CA
list(char) -> list(char)
Drop last 1 characters
('290',)
29
list(char) -> list(char)
count-k with k=3
([13, 7, 9, 10],)
0
list(int) -> int
repeat-many
([0, 10, 11],)
[]
list(int) -> list(int)
caesar-cipher-k-modulo-n with k=3 and n=5
([2, 0, 1, 2, 4, 3],)
[0, 3, 4, 0, 2, 1]
list(int) -> list(int)
ensure suffix `Columbia`
('647 Seamons 40 Teddy',)
647 Seamons 40 TeddyColumbia
list(char) -> list(char)
is-primes
([],)
True
list(int) -> bool
remove gt 3
([3, 2, 2, 1, 2],)
[3, 2, 2, 1, 2]
list(int) -> list(int)
Take first 5 characters
('Desiree',)
Desir
list(char) -> list(char)
slice-k-n with k=2 and n=4
([10, 15, 5, 5, 0, 16, 12, 12, 8, 5, 4, 16],)
[15, 5, 5, 0]
list(int) -> list(int)
First letters of words (IIIII)
('46 439',)
44
list(char) -> list(char)
Abbreviate separate words (III)
('+174', 'Lain')
+.L.
list(char) -> list(char) -> list(char)
range +1 maximum list
([1, 6, 5, 2, 5],)
[0, 1, 2, 3, 4, 5, 6]
list(int) -> list(int)
First letters of words (III)
('Lango Babiarz R',)
LBR
list(char) -> list(char)
mult-k with k=2
([11, 2, 7, 10, 4],)
[22, 4, 14, 20, 8]
list(int) -> list(int)
repeat-k with k=2
([0, 9, 3, 1, 2],)
[0, 9, 3, 1, 2, 0, 9, 3, 1, 2]
list(int) -> list(int)
ensure suffix `Scalia`
('Ramthun Beata Chism FreeHaferScalia',)
Ramthun Beata Chism FreeHaferScalia
list(char) -> list(char)
Extract word delimited by '(' - '('
('Montiel(Temple(Heintz(Teddy',)
Temple
list(char) -> list(char)
nth (n=-1) word delimited by ','
('468,376',)
376
list(char) -> list(char)
keep gt 3
([1, 6, 0, 0, 5],)
[6, 5]
list(int) -> list(int)
remove-index-k with k=2
([15, 3, 10],)
[15, 10]
list(int) -> list(int)
rotate-k with k=3
([6, 0, 10, 14, 5, 13, 11, 2, 7, 7, 12],)
[7, 7, 12, 6, 0, 10, 14, 5, 13, 11, 2]
list(int) -> list(int)
keep gt 1
([0, 2, 6, 4, 5],)
[2, 6, 4, 5]
list(int) -> list(int)
Append two words delimited by '-'
('119', 'Harvard')
119-Harvard
list(char) -> list(char) -> list(char)
ensure suffix `568`
('MD Hopkins 394',)
MD Hopkins 394568
list(char) -> list(char)
nth (n=0) word delimited by ')'
('+105)046)Casler',)
+105
list(char) -> list(char)
First letters of words (I)
('+118 Chism 428 Acura100',)
+C4A
list(char) -> list(char)
is-primes
([2],)
True
list(int) -> bool
remove-mod-k with k=2
([0],)
[]
list(int) -> list(int)
index-k with k=2
([3, 10],)
10
list(int) -> int
has-k with k=5
([],)
False
list(int) -> bool
prepend-k with k=5
([4, 10, 11, 11, 16, 7, 14],)
[5, 4, 10, 11, 11, 16, 7, 14]
list(int) -> list(int)
Take first character and append ','
('546',)
5,
list(char) -> list(char)
bool-identify-k with k=0
([9, 15, 4, 7],)
[False, False, False, False]
list(int) -> list(bool)
count-k with k=0
([0, 8],)
1
list(int) -> int
repeat-k with k=5
([],)
[]
list(int) -> list(int)
Abbreviate words separated by ')'
('585)13',)
5.1.
list(char) -> list(char)
Take first character and append ')'
('83',)
8)
list(char) -> list(char)
range
(2,)
[0, 1]
int -> list(int)
kth-smallest with k=2
([13, 3, 7],)
7
list(int) -> int
First letters of words (IIII)
('310 817 Q +185',)
38Q+
list(char) -> list(char)
slice-k-n with k=2 and n=1
([15, 15, 0, 9, 9, 15, 15, 3, 4],)
[15]
list(int) -> list(int)
Append 2 strings (I)
('Richert', 'NY')
RichertNY
list(char) -> list(char) -> list(char)
pow-k with k=3
([7, 0, 3, 12, 12],)
[343, 0, 27, 1728, 1728]
list(int) -> list(int)
is-mod-k with k=3
([8, 12, 4, 7],)
False
list(int) -> bool
keep eq 2
([3, 4, 2, 6, 5],)
[2]
list(int) -> list(int)
Abbreviate separate words (IIIIII)
('Lakenya', '62')
L.6.
list(char) -> list(char) -> list(char)
keep gt 3
([1, 6, 0, 0, 5],)
[6, 5]
list(int) -> list(int)
Take first character and append '-'
('Scalia',)
S-
list(char) -> list(char)
nth (n=1) word delimited by ','
('473,Phialdelphia',)
Phialdelphia
list(char) -> list(char)
range
(3,)
[0, 1, 2]
int -> list(int)
First letters of words (III)
('Lango Babiarz R',)
LBR
list(char) -> list(char)
bool-identify-k with k=3
([],)
[]
list(int) -> list(bool)
Replace '(' w/ ')'
('14(Micha',)
14)Micha
list(char) -> list(char)
keep-mod-k with k=2
([10, 0, 16],)
[10, 0, 16]
list(int) -> list(int)
ensure suffix `Andria`
('+68 +161 Heintz York',)
+68 +161 Heintz YorkAndria
list(char) -> list(char)
Take first character and append '-'
('Scalia',)
S-
list(char) -> list(char)
Replace ' ' w/ '('
('035 Penn Hornak',)
035(Penn(Hornak
list(char) -> list(char)
has-k with k=0
([],)
False
list(int) -> bool
parentheses around a single word (I)
('Withers',)
(Withers)
list(char) -> list(char)
Append '+138'
('Cornell',)
Cornell+138
list(char) -> list(char)
Drop last 3 characters
('Hage',)
H
list(char) -> list(char)
Append two words delimited by '. '
('Philadelphia', '433')
Philadelphia. 433
list(char) -> list(char) -> list(char)
Replace ',' w/ '.'
('Reily,Madelaine',)
Reily.Madelaine
list(char) -> list(char)
slice-k-n with k=1 and n=5
([15, 2, 10, 8, 8, 14, 6, 4, 8, 8, 16],)
[15, 2, 10, 8, 8]
list(int) -> list(int)
caesar-cipher-k-modulo-n with k=4 and n=3
([1, 0, 1, 1, 1],)
[2, 1, 2, 2, 2]
list(int) -> list(int)
nth (n=-1) word delimited by '('
('N(Spell(Babiarz(MD',)
MD
list(char) -> list(char)
has-k with k=1
([1, 1, 1, 1],)
True
list(int) -> bool
keep squares
([9, 4, 1, 9, 4, 8, 6],)
[9, 4, 1, 9, 4]
list(int) -> list(int)
Abbreviate separate words (III)
('+189', '856')
+.8.
list(char) -> list(char) -> list(char)
remove-mod-k with k=5
([35, 1, 4, 13, 10, 6, 35],)
[1, 4, 13, 6]
list(int) -> list(int)
add-k with k=4
([16, 10, 7, 12, 13, 3],)
[20, 14, 11, 16, 17, 7]
list(int) -> list(int)
prepend-k with k=2
([14],)
[2, 14]
list(int) -> list(int)
Append 'Dermody'
('085',)
085Dermody
list(char) -> list(char)
Abbreviate separate words (I)
('Dermody', 'D')
D.D.
list(char) -> list(char) -> list(char)
Prepend '177' to first word
('566 14',)
177566
list(char) -> list(char)
Replace '.' w/ ')'
('Beata.21.119',)
Beata)21)119
list(char) -> list(char)
slice-k-n with k=2 and n=4
([12, 0, 15, 7, 3, 16, 15, 16, 12, 13],)
[0, 15, 7, 3]
list(int) -> list(int)
parentheses around second word
('O Jeanice',)
(Jeanice)
list(char) -> list(char)
parentheses around a single word (IIII)
('986',)
(986)
list(char) -> list(char)
prepend-index-k with k=4
([2, 8, 16, 0, 1, 16, 0, 10, 13, 7],)
[0, 2, 8, 16, 0, 1, 16, 0, 10, 13, 7]
list(int) -> list(int)
parentheses around word delimited by ' ' & '-'
('+151 Annalisa-Phillip-Pennsylvania',)
+151 (Annalisa)-Phillip-Pennsylvania
list(char) -> list(char)
drop first word delimited by '('
('Barbara(Temple(Samuel',)
Temple(Samuel
list(char) -> list(char)
drop-k with k=5
([7, 15, 3, 15, 7, 7, 11],)
[7, 11]
list(int) -> list(int)
Take first 2 characters
('+2',)
+2
list(char) -> list(char)