description
stringlengths
3
46
input
stringlengths
4
74
output
stringlengths
1
90
types
stringclasses
9 values
remove-index-k with k=3
([4, 6, 12],)
[4, 6]
list(int) -> list(int)
rotate-k with k=3
([4, 3, 12, 6, 2, 11, 16, 10, 9, 10, 13, 6, 3],)
[13, 6, 3, 4, 3, 12, 6, 2, 11, 16, 10, 9, 10]
list(int) -> list(int)
Append 2 strings (IIII)
('Marcus', '776')
Marcus776
list(char) -> list(char) -> list(char)
Append 'Dermody'
('+5',)
+5Dermody
list(char) -> list(char)
caesar-cipher-k-modulo-n with k=2 and n=3
([1, 2, 2, 1],)
[0, 1, 1, 0]
list(int) -> list(int)
empty
([7, 7, 3, 2],)
False
list(int) -> bool
slice-k-n with k=4 and n=3
([0, 8, 0, 13, 14, 11, 6, 7, 13, 11, 1, 3],)
[13, 14, 11]
list(int) -> list(int)
has-k with k=1
([8, 8, 7, 1, 1, 2, 3],)
True
list(int) -> bool
Prepend 'Jani'
('Andria',)
JaniAndria
list(char) -> list(char)
take-k with k=3
([11, 2, 16, 13, 6, 16, 8, 2, 11, 8],)
[11, 2, 16]
list(int) -> list(int)
bool-identify-k with k=2
([9, 16, 3, 2, 7, 2],)
[False, False, False, True, False, True]
list(int) -> list(bool)
rotate-k with k=5
([14, 6, 10, 2, 7, 12, 1, 12, 8, 11, 2, 7, 3],)
[8, 11, 2, 7, 3, 14, 6, 10, 2, 7, 12, 1, 12]
list(int) -> list(int)
Abbreviate words separated by ','
('Rice,883',)
R.8.
list(char) -> list(char)
Take first character and append ','
('56',)
5,
list(char) -> list(char)
Extract word delimited by '(' - '('
('14(Rowden(Jeanice(Acura125',)
Rowden
list(char) -> list(char)
count-k with k=0
([3, 14, 15, 0],)
1
list(int) -> int
Abbreviate words separated by ' '
('938 Alida',)
9.A.
list(char) -> list(char)
bool-identify-is-mod-k with k=3
([],)
[]
list(int) -> list(bool)
slice-k-n with k=1 and n=4
([12, 12, 2, 1, 10, 15, 3, 13, 9, 9, 16, 1, 5],)
[12, 12, 2, 1]
list(int) -> list(int)
bool-identify-geq-k with k=5
([4, 8, 10, 0, 15, 8, 4],)
[False, True, True, False, True, True, False]
list(int) -> list(bool)
mult-k with k=0
([3, 16],)
[0, 0]
list(int) -> list(int)
Extract word delimited by ',' - ','
('Jeff,Scalia,Gertude,877',)
Scalia
list(char) -> list(char)
parentheses around word delimited by '-' & '.'
('-Spell.Rowden Arbor',)
-(Spell).Rowden Arbor
list(char) -> list(char)
Prepend 'Jani'
('Andria',)
JaniAndria
list(char) -> list(char)
Prepend 'Jani'
('25',)
Jani25
list(char) -> list(char)
Prepend 'UCLA'
('Ferrari',)
UCLAFerrari
list(char) -> list(char)
Drop last 2 characters
('562',)
5
list(char) -> list(char)
append-index-k with k=1
([7, 5, 16, 3],)
[7, 5, 16, 3, 7]
list(int) -> list(int)
caesar-cipher-k-modulo-n with k=5 and n=3
([2, 2, 1, 0, 0],)
[1, 1, 0, 2, 2]
list(int) -> list(int)
parentheses around word delimited by '.' & ','
('476.47,017',)
476.(47),017
list(char) -> list(char)
repeat-many
([4, 1, 2],)
[1, 2, 1, 2, 1, 2, 1, 2]
list(int) -> list(int)
parentheses around word delimited by '.' & ','
('20.066,TX-Pannell',)
20.(066),TX-Pannell
list(char) -> list(char)
append-index-k with k=1
([0, 1, 7],)
[0, 1, 7, 0]
list(int) -> list(int)
nth (n=-1) word delimited by '.'
('N.Annalisa.Houston',)
Houston
list(char) -> list(char)
index-k with k=3
([3, 11, 3],)
3
list(int) -> int
ensure suffix `568`
('+23 10 IL 844',)
+23 10 IL 844568
list(char) -> list(char)
Abbreviate words separated by ')'
('Coralee)Rowden',)
C.R.
list(char) -> list(char)
drop first word delimited by ')'
('Heintz)Babiarz)University',)
Babiarz)University
list(char) -> list(char)
bool-identify-k with k=5
([5, 5, 5, 5, 5],)
[True, True, True, True, True]
list(int) -> list(bool)
rotate-k with k=3
([13, 6, 15, 16, 4],)
[15, 16, 4, 13, 6]
list(int) -> list(int)
remove eq 2
([3, 1, 3, 1, 1],)
[3, 1, 3, 1, 1]
list(int) -> list(int)
kth-largest with k=5
([11, 11, 14, 8, 14, 2, 8, 4, 1, 9, 9, 4],)
9
list(int) -> int
prepend-index-k with k=3
([15, 6, 14, 4, 12, 0, 15],)
[14, 15, 6, 14, 4, 12, 0, 15]
list(int) -> list(int)
drop first word delimited by ' '
('S 2 86 178',)
2 86 178
list(char) -> list(char)
slice-k-n with k=2 and n=1
([7, 13, 3, 4, 8, 16, 5, 1],)
[13]
list(int) -> list(int)
First letters of words (II)
('365 Aylward',)
3A
list(char) -> list(char)
Take first 4 characters
('Ducati250',)
Duca
list(char) -> list(char)
Prepend '177' to first word
('421 Annalisa',)
177421
list(char) -> list(char)
replace-all-with-index-k with k=3
([4, 7, 15, 9, 4, 15, 3],)
[15, 15, 15, 15, 15, 15, 15]
list(int) -> list(int)
Drop last 1 characters
('Latimore',)
Latimor
list(char) -> list(char)
append-index-k with k=4
([9, 14, 6, 9, 8, 2, 5, 13, 3, 7],)
[9, 14, 6, 9, 8, 2, 5, 13, 3, 7, 9]
list(int) -> list(int)
mult-k with k=4
([3],)
[12]
list(int) -> list(int)
prepend-k with k=0
([16],)
[0, 16]
list(int) -> list(int)
nth (n=0) word delimited by '.'
('B.25.Jeanice',)
B
list(char) -> list(char)
slice-k-n with k=2 and n=2
([12, 6, 14, 6, 7, 8, 6, 6, 13, 7, 6, 10],)
[6, 14]
list(int) -> list(int)
keep eq 3
([2, 6, 2, 4, 1],)
[]
list(int) -> list(int)
Abbreviate separate words (II)
('395', '082')
3.0.
list(char) -> list(char) -> list(char)
remove eq 3
([5, 5, 5, 4, 3],)
[5, 5, 5, 4]
list(int) -> list(int)
Append 2 strings (I)
('Phialdelphia', '40')
Phialdelphia40
list(char) -> list(char) -> list(char)
slice-k-n with k=2 and n=1
([0, 0, 4, 12, 0, 3, 9],)
[0]
list(int) -> list(int)
remove gt 3
([4, 2, 3, 0, 2],)
[2, 3, 0, 2]
list(int) -> list(int)
First letters of words (I)
('81 Heintz Pannell',)
8HP
list(char) -> list(char)
remove-mod-k with k=5
([14, 16, 10, 9, 6],)
[14, 16, 9, 6]
list(int) -> list(int)
prepend-k with k=0
([16, 11],)
[0, 16, 11]
list(int) -> list(int)
Replace ',' w/ '.'
('+197,980,Hage,Cencici',)
+197.980.Hage.Cencici
list(char) -> list(char)
Take first 2 characters
('Stefany',)
St
list(char) -> list(char)
Append two words delimited by ','
('UIUC', '608')
UIUC,608
list(char) -> list(char) -> list(char)
parentheses around a single word (IIIII)
('68',)
(68)
list(char) -> list(char)
bool-identify-is-mod-k with k=5
([15, 0, 1, 3, 16, 9],)
[True, True, False, False, False, False]
list(int) -> list(bool)
remove-mod-k with k=5
([9, 13, 0, 8],)
[9, 13, 8]
list(int) -> list(int)
Abbreviate separate words (IIIII)
('21', '169')
2.1.
list(char) -> list(char) -> list(char)
remove-mod-k with k=2
([7, 0, 4, 12],)
[7]
list(int) -> list(int)
slice-k-n with k=5 and n=3
([14, 7, 15, 6, 10, 9, 8, 11, 2, 11],)
[10, 9, 8]
list(int) -> list(int)
First letters of words (IIII)
('CT FreeHafer Bogle',)
CFB
list(char) -> list(char)
bool-identify-k with k=4
([2, 7, 12],)
[False, False, False]
list(int) -> list(bool)
Append 'Beata'
('Eccleston',)
EcclestonBeata
list(char) -> list(char)
take-k with k=5
([7, 12, 9, 13, 16, 6, 1, 9, 10, 14, 9],)
[7, 12, 9, 13, 16]
list(int) -> list(int)
Replace '(' w/ ')'
('Hornak(Q(Mackenzie',)
Hornak)Q)Mackenzie
list(char) -> list(char)
Append '636'
('FreeHafer',)
FreeHafer636
list(char) -> list(char)
Append '+138'
('Hopkins',)
Hopkins+138
list(char) -> list(char)
Abbreviate words separated by ' '
('038 Cruz',)
0.C.
list(char) -> list(char)
Abbreviate words separated by '('
('Jeanice(Acura',)
J.A.
list(char) -> list(char)
Append 'Beata'
('S',)
SBeata
list(char) -> list(char)
Replace '(' w/ '.'
('C(40',)
C.40
list(char) -> list(char)
mult-k with k=3
([4],)
[12]
list(int) -> list(int)
Take first character and append ' '
('MI',)
M
list(char) -> list(char)
First letters of words (III)
('Lango Babiarz R',)
LBR
list(char) -> list(char)
pow-k with k=5
([9, 0, 3],)
[59049, 0, 243]
list(int) -> list(int)
Abbreviate separate words (IIIII)
('Ducati125', '46')
D.4.
list(char) -> list(char) -> list(char)
caesar-cipher-k-modulo-n with k=5 and n=2
([0, 1, 0, 1, 0, 1],)
[1, 0, 1, 0, 1, 0]
list(int) -> list(int)
Extract word delimited by ',' - ','
('Barbara,+86,95,Urbana',)
+86
list(char) -> list(char)
Append 'Beata'
('Eccleston',)
EcclestonBeata
list(char) -> list(char)
Append 2 strings (IIII)
('426', '369')
426369
list(char) -> list(char) -> list(char)
replace-all-with-index-k with k=1
([4, 2, 6],)
[4, 4, 4]
list(int) -> list(int)
has-k with k=2
([5, 8, 4, 13, 12],)
False
list(int) -> bool
Prepend '+167' to first word
('Launa 845',)
+167Launa
list(char) -> list(char)
min
([0],)
0
list(int) -> int
Append 'Cornell'
('101',)
101Cornell
list(char) -> list(char)
nth (n=1) word delimited by ')'
('Partida)FreeHafer)+130)D',)
FreeHafer
list(char) -> list(char)
parentheses around a single word (I)
('Halpern',)
(Halpern)
list(char) -> list(char)