description
stringlengths
3
46
input
stringlengths
4
74
output
stringlengths
1
90
types
stringclasses
9 values
drop first word delimited by '.'
('Angeles.+115.+140',)
+115.+140
list(char) -> list(char)
mult-k with k=3
([0, 6, 9, 4, 16, 10, 12],)
[0, 18, 27, 12, 48, 30, 36]
list(int) -> list(int)
rotate-k with k=5
([3, 12, 13, 12, 5, 7, 7, 2],)
[12, 5, 7, 7, 2, 3, 12, 13]
list(int) -> list(int)
has-k with k=1
([2, 4, 6, 9],)
False
list(int) -> bool
nth (n=-1) word delimited by '.'
('197.58',)
58
list(char) -> list(char)
nth (n=0) word delimited by '-'
('Jeff-Lara-Karrie',)
Jeff
list(char) -> list(char)
Take first character and append '('
('Pennsylvania',)
P(
list(char) -> list(char)
bool-identify-geq-k with k=0
([10, 6, 8, 4, 6, 6, 7],)
[True, True, True, True, True, True, True]
list(int) -> list(bool)
Append 'Angeles'
('Spell',)
SpellAngeles
list(char) -> list(char)
Append two words delimited by ')'
('Storrs', 'Jacquiline')
Storrs)Jacquiline
list(char) -> list(char) -> list(char)
replace-all-with-index-k with k=5
([4, 16, 8, 9, 13, 8, 12, 11, 4, 5, 2],)
[13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13]
list(int) -> list(int)
bool-identify-geq-k with k=3
([7, 11, 2, 3, 2, 2, 10],)
[True, True, False, True, False, False, True]
list(int) -> list(bool)
bool-identify-is-mod-k with k=4
([10, 4, 4],)
[False, True, True]
list(int) -> list(bool)
bool-identify-geq-k with k=4
([],)
[]
list(int) -> list(bool)
remove-mod-k with k=2
([13, 1, 3, 2, 14],)
[13, 1, 3]
list(int) -> list(int)
Abbreviate words separated by '-'
('Cruz-150',)
C.1.
list(char) -> list(char)
len
([10, 14, 8, 2, 12, 10, 3],)
7
list(int) -> int
parentheses around a single word (IIIII)
('Halpern',)
(Halpern)
list(char) -> list(char)
Prepend '170' to first word
('Malissa 500',)
170Malissa
list(char) -> list(char)
prepend-index-k with k=4
([16, 11, 3, 0, 8, 13],)
[0, 16, 11, 3, 0, 8, 13]
list(int) -> list(int)
kth-smallest with k=2
([1, 1, 6, 8],)
1
list(int) -> int
remove-index-k with k=5
([5, 11, 14, 2, 1, 3, 2, 13],)
[5, 11, 14, 2, 3, 2, 13]
list(int) -> list(int)
Extract word delimited by ',' - '.'
('86,+161.13,+7',)
+161
list(char) -> list(char)
slice-k-n with k=4 and n=2
([8, 14, 15, 4, 16, 7, 14, 14, 2, 10, 1, 1, 1],)
[4, 16]
list(int) -> list(int)
replace-all-with-index-k with k=4
([1, 4, 13, 3],)
[3, 3, 3, 3]
list(int) -> list(int)
drop first word delimited by ' '
('S 2 86 178',)
2 86 178
list(char) -> list(char)
drop-k with k=5
([14, 2, 8, 4, 1, 9, 9, 4],)
[9, 9, 4]
list(int) -> list(int)
nth (n=-1) word delimited by '.'
('N.Annalisa.Houston',)
Houston
list(char) -> list(char)
Take first character and append '-'
('751',)
7-
list(char) -> list(char)
Drop last 4 characters
('Santa',)
S
list(char) -> list(char)
Prepend '+174'
('851',)
+174851
list(char) -> list(char)
Abbreviate words separated by ')'
('585)13',)
5.1.
list(char) -> list(char)
parentheses around first word
('+108 29 95 +196 332',)
(+108)
list(char) -> list(char)
Replace '(' w/ ' '
('+194(Alaina',)
+194 Alaina
list(char) -> list(char)
keep eq 2
([1, 4, 3, 5, 5],)
[]
list(int) -> list(int)
Append 'Dermody'
('Columbia',)
ColumbiaDermody
list(char) -> list(char)
drop first word delimited by ' '
('Bess Berkeley',)
Berkeley
list(char) -> list(char)
caesar-cipher-k-modulo-n with k=5 and n=2
([0, 1, 0],)
[1, 0, 1]
list(int) -> list(int)
Prepend '+174'
('S',)
+174S
list(char) -> list(char)
Append two words delimited by ','
('UIUC', '608')
UIUC,608
list(char) -> list(char) -> list(char)
append-k with k=1
([],)
[1]
list(int) -> list(int)
Extract word delimited by ',' - ','
('Barbara,+86,95,Urbana',)
+86
list(char) -> list(char)
caesar-cipher-k-modulo-n with k=4 and n=5
([1, 2, 4, 1, 0],)
[0, 1, 3, 0, 4]
list(int) -> list(int)
parentheses around word delimited by ' ' & '-'
(' Barbara-Mackenzie',)
(Barbara)-Mackenzie
list(char) -> list(char)
Replace '(' w/ ')'
('14(Micha',)
14)Micha
list(char) -> list(char)
First letters of words (I)
('C 461 +140 Phillip',)
C4+P
list(char) -> list(char)
slice-k-n with k=1 and n=1
([12, 0, 13, 16, 10],)
[12]
list(int) -> list(int)
drop first word delimited by ','
('Nancy,Beata,512,864',)
Beata,512,864
list(char) -> list(char)
slice-k-n with k=4 and n=5
([13, 8, 8, 16, 2, 3, 13, 1, 9, 9, 1, 16, 7, 11],)
[16, 2, 3, 13, 1]
list(int) -> list(int)
Take first character and append '('
('82',)
8(
list(char) -> list(char)
Prepend '+174'
('Jurgens',)
+174Jurgens
list(char) -> list(char)
bool-identify-geq-k with k=4
([15, 3, 3, 1, 3],)
[True, False, False, False, False]
list(int) -> list(bool)
nth (n=0) word delimited by ')'
('Lara)+176',)
Lara
list(char) -> list(char)
caesar-cipher-k-modulo-n with k=1 and n=4
([1, 2],)
[2, 3]
list(int) -> list(int)
drop first word delimited by '.'
('Acura.Urbana',)
Urbana
list(char) -> list(char)
fibonacci
(8,)
21
int -> int
drop first word delimited by '('
('Barbara(Temple(Samuel',)
Temple(Samuel
list(char) -> list(char)
kth-largest with k=5
([3, 16, 14, 5, 10, 1, 5, 6],)
5
list(int) -> int
slice-k-n with k=2 and n=4
([7, 6, 9, 1, 2, 13, 16],)
[6, 9, 1, 2]
list(int) -> list(int)
keep gt 1
([5, 6, 1, 6, 6],)
[5, 6, 6, 6]
list(int) -> list(int)
Append 'Beata'
('997',)
997Beata
list(char) -> list(char)
Abbreviate separate words (I)
('62', 'Ramthun')
6.R.
list(char) -> list(char) -> list(char)
Extract word delimited by '-' - ')'
('York-Mackenzie)Jacquiline)L',)
Mackenzie
list(char) -> list(char)
Extract word delimited by ',' - '.'
('CT,+118.Mariel.40',)
+118
list(char) -> list(char)
parentheses around word delimited by ',' & ' '
(',551 Cencici 68',)
,(551) Cencici 68
list(char) -> list(char)
ensure suffix `Ramthun`
('Bogle Miah Honda250 Trinidad',)
Bogle Miah Honda250 TrinidadRamthun
list(char) -> list(char)
drop first word delimited by '.'
('Acura.Urbana',)
Urbana
list(char) -> list(char)
Prepend '+174'
('52',)
+17452
list(char) -> list(char)
remove-mod-k with k=5
([5],)
[]
list(int) -> list(int)
bool-identify-is-mod-k with k=2
([4, 16, 10],)
[True, True, True]
list(int) -> list(bool)
index-k with k=4
([10, 8, 6, 7, 15, 2, 9, 16],)
7
list(int) -> int
nth (n=-1) word delimited by ','
('144,Honda550,Hopkins',)
Hopkins
list(char) -> list(char)
Replace '-' w/ ','
('Georgina-Dr-Alida-Acura100',)
Georgina,Dr,Alida,Acura100
list(char) -> list(char)
Abbreviate words separated by ','
('Rice,883',)
R.8.
list(char) -> list(char)
keep-mod-k with k=4
([36, 36, 16],)
[36, 36, 16]
list(int) -> list(int)
Prepend 'Hornak'
('P',)
HornakP
list(char) -> list(char)
range +1 maximum list
([8, 4, 1, 8],)
[0, 1, 2, 3, 4, 5, 6, 7, 8]
list(int) -> list(int)
caesar-cipher-k-modulo-n with k=4 and n=5
([2, 1, 2, 4],)
[1, 0, 1, 3]
list(int) -> list(int)
nth (n=-1) word delimited by '-'
('21-of',)
of
list(char) -> list(char)
Prepend 'Spell'
('+105',)
Spell+105
list(char) -> list(char)
nth (n=0) word delimited by '.'
('Bradford.971.+180',)
Bradford
list(char) -> list(char)
kth-largest with k=5
([2, 9, 16, 2, 7, 12],)
2
list(int) -> int
slice-k-n with k=2 and n=4
([14, 1, 5, 0, 2, 11, 8, 11, 1, 1, 0, 3],)
[1, 5, 0, 2]
list(int) -> list(int)
Replace ' ' w/ '('
('035 Penn Hornak',)
035(Penn(Hornak
list(char) -> list(char)
modulo-k with k=5
([15],)
[0]
list(int) -> list(int)
count-k with k=4
([4, 4, 4, 4, 4],)
5
list(int) -> int
drop-k with k=5
([15, 6, 2, 1, 7, 7, 2, 11, 14, 6, 7, 11],)
[7, 2, 11, 14, 6, 7, 11]
list(int) -> list(int)
bool-identify-geq-k with k=1
([6, 0, 1],)
[True, False, True]
list(int) -> list(bool)
Append two words delimited by ' -'
('622', 'Andrew')
622 -Andrew
list(char) -> list(char) -> list(char)
has-k with k=5
([12, 3, 14],)
False
list(int) -> bool
nth (n=0) word delimited by ','
('Neil,Heintz,Malissa,Berkeley',)
Neil
list(char) -> list(char)
keep eq 1
([2, 1, 5, 1, 2],)
[1, 1]
list(int) -> list(int)
bool-identify-geq-k with k=5
([],)
[]
list(int) -> list(bool)
head
([1, 2, 3],)
1
list(int) -> int
nth (n=0) word delimited by ')'
('+105)046)Casler',)
+105
list(char) -> list(char)
prepend-k with k=2
([],)
[2]
list(int) -> list(int)
Prepend 'Carlene' to first word
('+155 45',)
Carlene+155
list(char) -> list(char)
nth (n=1) word delimited by '.'
('Ducati125.of.588.843',)
of
list(char) -> list(char)
Prepend '086' to first word
('Georgina 72',)
086Georgina
list(char) -> list(char)
Drop last 3 characters
('012',)
null
list(char) -> list(char)