description
stringlengths 3
46
| input
stringlengths 4
74
| output
stringlengths 1
90
⌀ | types
stringclasses 9
values |
---|---|---|---|
replace-all-with-index-k with k=2
|
([5, 5, 0, 11, 6, 14],)
|
[5, 5, 5, 5, 5, 5]
|
list(int) -> list(int)
|
nth (n=1) word delimited by ','
|
('Arbor,Scalia,Seamons,847',)
|
Scalia
|
list(char) -> list(char)
|
nth (n=1) word delimited by '-'
|
('Kotas-028',)
|
028
|
list(char) -> list(char)
|
take-k with k=1
|
([2, 0, 7],)
|
[2]
|
list(int) -> list(int)
|
ensure suffix `Andria`
|
('+68 +161 Heintz York',)
|
+68 +161 Heintz YorkAndria
|
list(char) -> list(char)
|
Extract word delimited by '-' - ')'
|
('155-Reily)Haven)+132',)
|
Reily
|
list(char) -> list(char)
|
keep gt 0
|
([4, 0, 2, 3, 2],)
|
[4, 2, 3, 2]
|
list(int) -> list(int)
|
Append two words delimited by '('
|
('204', 'Elias')
|
204(Elias
|
list(char) -> list(char) -> list(char)
|
parentheses around word delimited by ',' & ' '
|
('Dr,+104 45',)
|
Dr,(+104) 45
|
list(char) -> list(char)
|
kth-largest with k=2
|
([12, 5, 7, 15, 6],)
|
12
|
list(int) -> int
|
nth (n=-1) word delimited by '-'
|
('473-Nancy-980-166',)
|
166
|
list(char) -> list(char)
|
Abbreviate separate words (II)
|
('York', 'Madelaine')
|
Y.M.
|
list(char) -> list(char) -> list(char)
|
has-k with k=4
|
([4, 4, 13],)
|
True
|
list(int) -> bool
|
bool-identify-geq-k with k=0
|
([3, 3, 3, 3, 13, 14, 9],)
|
[True, True, True, True, True, True, True]
|
list(int) -> list(bool)
|
prepend-k with k=2
|
([12, 5, 15, 10, 6],)
|
[2, 12, 5, 15, 10, 6]
|
list(int) -> list(int)
|
Append 2 strings (IIIII)
|
('Soderstrom', '+199')
|
Soderstrom+199
|
list(char) -> list(char) -> list(char)
|
Replace ',' w/ '.'
|
('+197,980,Hage,Cencici',)
|
+197.980.Hage.Cencici
|
list(char) -> list(char)
|
head
|
([16],)
|
16
|
list(int) -> int
|
bool-identify-geq-k with k=4
|
([7, 10, 16],)
|
[True, True, True]
|
list(int) -> list(bool)
|
Append two words delimited by ' '
|
('+155', 'Bobo')
|
+155 Bobo
|
list(char) -> list(char) -> list(char)
|
ensure suffix `568`
|
('+23 10 IL 844',)
|
+23 10 IL 844568
|
list(char) -> list(char)
|
Append 'Beata'
|
('997',)
|
997Beata
|
list(char) -> list(char)
|
is-odds
|
([2, 0, 4],)
|
False
|
list(int) -> bool
|
parentheses around word delimited by ' ' & '-'
|
(' +194-9',)
|
(+194)-9
|
list(char) -> list(char)
|
kth-smallest with k=1
|
([6, 10, 8, 14, 2, 12],)
|
2
|
list(int) -> int
|
slice-k-n with k=3 and n=5
|
([14, 7, 14, 14, 0, 8, 10, 4, 1, 9, 0, 9, 4],)
|
[14, 14, 0, 8, 10]
|
list(int) -> list(int)
|
pow-k with k=5
|
([9, 0, 3],)
|
[59049, 0, 243]
|
list(int) -> list(int)
|
index-k with k=3
|
([8, 12, 0, 1],)
|
0
|
list(int) -> int
|
parentheses around a single word (III)
|
('Park',)
|
(Park)
|
list(char) -> list(char)
|
Replace ' ' w/ '('
|
('035 Penn Hornak',)
|
035(Penn(Hornak
|
list(char) -> list(char)
|
Prepend 'Carlene' to first word
|
('43 927',)
|
Carlene43
|
list(char) -> list(char)
|
Append two words delimited by '-'
|
('Constable', '+197')
|
Constable-+197
|
list(char) -> list(char) -> list(char)
|
bool-identify-geq-k with k=5
|
([12, 10],)
|
[True, True]
|
list(int) -> list(bool)
|
Append two words delimited by ')'
|
('42', '959')
|
42)959
|
list(char) -> list(char) -> list(char)
|
remove eq 1
|
([2, 5, 6, 6, 2],)
|
[2, 5, 6, 6, 2]
|
list(int) -> list(int)
|
bool-identify-geq-k with k=4
|
([7],)
|
[True]
|
list(int) -> list(bool)
|
count-k with k=2
|
([2, 2],)
|
2
|
list(int) -> int
|
caesar-cipher-k-modulo-n with k=4 and n=3
|
([1, 1, 2, 1, 2, 2, 2],)
|
[2, 2, 0, 2, 0, 0, 0]
|
list(int) -> list(int)
|
nth (n=-1) word delimited by ' '
|
('Park +183 186',)
|
186
|
list(char) -> list(char)
|
parentheses around word delimited by ',' & ','
|
('100,066,Annalisa',)
|
100,(066),Annalisa
|
list(char) -> list(char)
|
Replace '(' w/ ')'
|
('+194(+185(+147(Rice',)
|
+194)+185)+147)Rice
|
list(char) -> list(char)
|
empty
|
([],)
|
True
|
list(int) -> bool
|
Take first character and append ' '
|
('Jan',)
|
J
|
list(char) -> list(char)
|
First letters of words (IIIIII)
|
('43 390 Phillip',)
|
43P
|
list(char) -> list(char)
|
caesar-cipher-k-modulo-n with k=2 and n=3
|
([1, 1, 2, 1, 2, 2, 2],)
|
[0, 0, 1, 0, 1, 1, 1]
|
list(int) -> list(int)
|
caesar-cipher-k-modulo-n with k=1 and n=5
|
([1],)
|
[2]
|
list(int) -> list(int)
|
Abbreviate separate words (IIIIII)
|
('25', '488')
|
2.4.
|
list(char) -> list(char) -> list(char)
|
nth (n=0) word delimited by '('
|
('Pennsylvania(Marquess',)
|
Pennsylvania
|
list(char) -> list(char)
|
caesar-cipher-k-modulo-n with k=3 and n=5
|
([3, 0, 3, 4, 3, 3],)
|
[1, 3, 1, 2, 1, 1]
|
list(int) -> list(int)
|
ensure suffix `997`
|
('Marcus +108 Ramthun Rudolf',)
|
Marcus +108 Ramthun Rudolf997
|
list(char) -> list(char)
|
Abbreviate separate words (IIIIII)
|
('Lakenya', '62')
|
L.6.
|
list(char) -> list(char) -> list(char)
|
Replace '(' w/ ')'
|
('Babiarz(Annalisa(+151(Samuel',)
|
Babiarz)Annalisa)+151)Samuel
|
list(char) -> list(char)
|
keep eq 3
|
([0, 5, 3, 4, 1],)
|
[3]
|
list(int) -> list(int)
|
kth-largest with k=1
|
([16, 2, 1, 12, 1, 11, 15],)
|
16
|
list(int) -> int
|
Drop last 5 characters
|
('Heintz',)
|
H
|
list(char) -> list(char)
|
First letters of words (I)
|
('+118 Chism 428 Acura100',)
|
+C4A
|
list(char) -> list(char)
|
Take first character and append ' '
|
('MI',)
|
M
|
list(char) -> list(char)
|
slice-k-n with k=2 and n=5
|
([15, 4, 13, 9, 10, 2, 9, 14, 4, 16],)
|
[4, 13, 9, 10, 2]
|
list(int) -> list(int)
|
Abbreviate words separated by ')'
|
('585)13',)
|
5.1.
|
list(char) -> list(char)
|
nth (n=-1) word delimited by ' '
|
('Edison 29 938 W',)
|
W
|
list(char) -> list(char)
|
Extract word delimited by '(' - '('
|
('Ducati250(+183(Richert(Park',)
|
+183
|
list(char) -> list(char)
|
nth (n=-1) word delimited by ')'
|
('+151)50)Withers',)
|
Withers
|
list(char) -> list(char)
|
nth (n=1) word delimited by '.'
|
('H.+7.Cortes.+169',)
|
+7
|
list(char) -> list(char)
|
append-index-k with k=4
|
([3, 5, 4, 4, 2, 0, 1, 8],)
|
[3, 5, 4, 4, 2, 0, 1, 8, 4]
|
list(int) -> list(int)
|
Append '+138'
|
('TX',)
|
TX+138
|
list(char) -> list(char)
|
drop first word delimited by '-'
|
('Coralee-862',)
|
862
|
list(char) -> list(char)
|
Append two words delimited by '.-'
|
('Mackenzie', '163')
|
Mackenzie.-163
|
list(char) -> list(char) -> list(char)
|
Append two words delimited by ','
|
('Acura100', '705')
|
Acura100,705
|
list(char) -> list(char) -> list(char)
|
Abbreviate separate words (III)
|
('+189', '856')
|
+.8.
|
list(char) -> list(char) -> list(char)
|
remove eq 0
|
([1, 5, 1, 1, 2],)
|
[1, 5, 1, 1, 2]
|
list(int) -> list(int)
|
Prepend 'Jani'
|
('Ithaca',)
|
JaniIthaca
|
list(char) -> list(char)
|
parentheses around word delimited by '.' & ','
|
('.+197,64',)
|
.(+197),64
|
list(char) -> list(char)
|
bool-identify-geq-k with k=2
|
([1, 3, 4, 1, 13, 9],)
|
[False, True, True, False, True, True]
|
list(int) -> list(bool)
|
ensure suffix `Scalia`
|
('Angeles T N',)
|
Angeles T NScalia
|
list(char) -> list(char)
|
remove eq 1
|
([5, 0, 4, 2, 3],)
|
[5, 0, 4, 2, 3]
|
list(int) -> list(int)
|
prepend-k with k=2
|
([],)
|
[2]
|
list(int) -> list(int)
|
Prepend 'Spell'
|
('Aylward',)
|
SpellAylward
|
list(char) -> list(char)
|
Replace ',' w/ '('
|
('066,+106,Bobo,200',)
|
066(+106(Bobo(200
|
list(char) -> list(char)
|
bool-identify-geq-k with k=4
|
([16, 16, 15, 13, 8],)
|
[True, True, True, True, True]
|
list(int) -> list(bool)
|
rotate-k with k=2
|
([0, 13, 14, 13, 1, 14, 12],)
|
[14, 12, 0, 13, 14, 13, 1]
|
list(int) -> list(int)
|
is-evens
|
([26, 20, 32, 10, 16, 16, 12],)
|
True
|
list(int) -> bool
|
Extract word delimited by ')' - '-'
|
('Cruz)+188-Maryann)183',)
|
+188
|
list(char) -> list(char)
|
nth (n=1) word delimited by ')'
|
('Mariel)Carlene)Ducati100)Jeff',)
|
Carlene
|
list(char) -> list(char)
|
keep-mod-k with k=4
|
([20, 6, 28, 4, 32],)
|
[20, 28, 4, 32]
|
list(int) -> list(int)
|
drop first word delimited by '-'
|
('Cambridge-+7-+140-29',)
|
+7-+140-29
|
list(char) -> list(char)
|
modulo-k with k=2
|
([10],)
|
[0]
|
list(int) -> list(int)
|
Append two words delimited by ' '
|
('051', '+174')
|
051 +174
|
list(char) -> list(char) -> list(char)
|
sort-and-deduplicate
|
([2, 7, 8],)
|
[2, 7, 8]
|
list(int) -> list(int)
|
caesar-cipher-k-modulo-n with k=2 and n=3
|
([1, 1, 0, 0, 1, 0, 0],)
|
[0, 0, 2, 2, 0, 2, 2]
|
list(int) -> list(int)
|
index-k with k=1
|
([5, 16, 10, 16, 8, 7, 2],)
|
5
|
list(int) -> int
|
Abbreviate words separated by '-'
|
('Kathlyn-Beata',)
|
K.B.
|
list(char) -> list(char)
|
Replace '.' w/ ')'
|
('Lakenya.876.18.064',)
|
Lakenya)876)18)064
|
list(char) -> list(char)
|
nth (n=-1) word delimited by '('
|
('Scalia(65',)
|
65
|
list(char) -> list(char)
|
drop first word delimited by '('
|
('+9(Urbana',)
|
Urbana
|
list(char) -> list(char)
|
First letters of words (IIII)
|
('Spell 865 169 095',)
|
S810
|
list(char) -> list(char)
|
parentheses around word delimited by '-' & '.'
|
('-Haven.80',)
|
-(Haven).80
|
list(char) -> list(char)
|
kth-largest with k=2
|
([13, 10, 5, 13, 5, 1],)
|
13
|
list(int) -> int
|
First letters of words (I)
|
('C 461 +140 Phillip',)
|
C4+P
|
list(char) -> list(char)
|
slice-k-n with k=4 and n=5
|
([1, 12, 7, 12, 0, 14, 12, 14, 5, 12, 15, 12, 1, 12, 6],)
|
[12, 0, 14, 12, 14]
|
list(int) -> list(int)
|
caesar-cipher-k-modulo-n with k=2 and n=3
|
([1, 1, 0, 0, 1, 0, 0],)
|
[0, 0, 2, 2, 0, 2, 2]
|
list(int) -> list(int)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.