description
stringlengths 3
46
| input
stringlengths 4
74
| output
stringlengths 1
90
⌀ | types
stringclasses 9
values |
---|---|---|---|
count-k with k=5
|
([8, 14],)
|
0
|
list(int) -> int
|
append-index-k with k=2
|
([11, 5, 15, 11],)
|
[11, 5, 15, 11, 5]
|
list(int) -> list(int)
|
has-k with k=3
|
([],)
|
False
|
list(int) -> bool
|
remove eq 1
|
([6, 3, 2, 2, 6],)
|
[6, 3, 2, 2, 6]
|
list(int) -> list(int)
|
nth (n=0) word delimited by '-'
|
('64-836-197-Michigan',)
|
64
|
list(char) -> list(char)
|
keep-mod-k with k=2
|
([12, 6, 16],)
|
[12, 6, 16]
|
list(int) -> list(int)
|
bool-identify-k with k=0
|
([11, 9, 0],)
|
[False, False, True]
|
list(int) -> list(bool)
|
Append two words delimited by '.'
|
('632', '836')
|
632.836
|
list(char) -> list(char) -> list(char)
|
Drop last 4 characters
|
('+167',)
| null |
list(char) -> list(char)
|
Take first 5 characters
|
('Gregori',)
|
Grego
|
list(char) -> list(char)
|
remove-index-k with k=3
|
([14, 10, 5, 2, 16],)
|
[14, 10, 2, 16]
|
list(int) -> list(int)
|
Abbreviate words separated by ' '
|
('038 Cruz',)
|
0.C.
|
list(char) -> list(char)
|
Take first 3 characters
|
('766',)
|
766
|
list(char) -> list(char)
|
nth (n=0) word delimited by '.'
|
('Bradford.971.+180',)
|
Bradford
|
list(char) -> list(char)
|
remove-index-k with k=5
|
([12, 5, 13, 11, 4, 16, 0, 8, 10, 6],)
|
[12, 5, 13, 11, 16, 0, 8, 10, 6]
|
list(int) -> list(int)
|
nth (n=0) word delimited by '('
|
('C(98',)
|
C
|
list(char) -> list(char)
|
Abbreviate separate words (IIIIII)
|
('25', '488')
|
2.4.
|
list(char) -> list(char) -> list(char)
|
Drop last 1 characters
|
('290',)
|
29
|
list(char) -> list(char)
|
Append 2 strings (IIIII)
|
('Jacquiline', 'College')
|
JacquilineCollege
|
list(char) -> list(char) -> list(char)
|
remove gt 2
|
([5, 2, 5, 6, 1],)
|
[2, 1]
|
list(int) -> list(int)
|
Replace '-' w/ ','
|
('+138-Irwin-46',)
|
+138,Irwin,46
|
list(char) -> list(char)
|
remove-mod-k with k=3
|
([7, 15, 6],)
|
[7]
|
list(int) -> list(int)
|
Append two words delimited by '(,'
|
('50', '949')
|
50(,949
|
list(char) -> list(char) -> list(char)
|
Abbreviate words separated by '.'
|
('Spagnoli.734',)
|
S.7.
|
list(char) -> list(char)
|
ensure suffix `Columbia`
|
('Cambridge MD 875 Ducati125',)
|
Cambridge MD 875 Ducati125Columbia
|
list(char) -> list(char)
|
append-k with k=1
|
([13, 11, 5, 1],)
|
[13, 11, 5, 1, 1]
|
list(int) -> list(int)
|
Take first character and append ')'
|
('414',)
|
4)
|
list(char) -> list(char)
|
count-k with k=0
|
([9, 7, 2, 6],)
|
0
|
list(int) -> int
|
Append 'Angeles'
|
('+199',)
|
+199Angeles
|
list(char) -> list(char)
|
keep primes
|
([17, 29, 2, 4, 2, 1, 8],)
|
[17, 29, 2, 2]
|
list(int) -> list(int)
|
min
|
([14, 1, 3],)
|
1
|
list(int) -> int
|
append-k with k=2
|
([0],)
|
[0, 2]
|
list(int) -> list(int)
|
slice-k-n with k=1 and n=1
|
([8, 5, 0],)
|
[8]
|
list(int) -> list(int)
|
bool-identify-is-prime
|
([2],)
|
[True]
|
list(int) -> list(bool)
|
replace-all-with-index-k with k=5
|
([9, 8, 15, 3, 4, 13, 9, 3, 3],)
|
[4, 4, 4, 4, 4, 4, 4, 4, 4]
|
list(int) -> list(int)
|
empty
|
([4],)
|
False
|
list(int) -> bool
|
bool-identify-k with k=3
|
([11, 0, 3, 3, 3, 3, 3],)
|
[False, False, True, True, True, True, True]
|
list(int) -> list(bool)
|
Replace ',' w/ '.'
|
('Ducati,+147',)
|
Ducati.+147
|
list(char) -> list(char)
|
nth (n=0) word delimited by ')'
|
('+105)046)Casler',)
|
+105
|
list(char) -> list(char)
|
Abbreviate words separated by '('
|
('G(Partida',)
|
G.P.
|
list(char) -> list(char)
|
drop first word delimited by ' '
|
('S 2 86 178',)
|
2 86 178
|
list(char) -> list(char)
|
parentheses around word delimited by ',' & ' '
|
('29,10 Stefany +158',)
|
29,(10) Stefany +158
|
list(char) -> list(char)
|
bool-identify-geq-k with k=4
|
([12, 6, 15, 6, 14, 8, 6],)
|
[True, True, True, True, True, True, True]
|
list(int) -> list(bool)
|
slice-k-n with k=5 and n=1
|
([7, 8, 9, 14, 16, 4, 5, 9, 9, 3, 9, 14, 10, 0],)
|
[16]
|
list(int) -> list(int)
|
ensure suffix `769`
|
('Ducati125 A Eccleston +198769',)
|
Ducati125 A Eccleston +198769
|
list(char) -> list(char)
|
bool-identify-geq-k with k=3
|
([5, 5, 7],)
|
[True, True, True]
|
list(int) -> list(bool)
|
remove gt 1
|
([0, 4, 3, 3, 3],)
|
[0]
|
list(int) -> list(int)
|
Take first character and append '.'
|
('290',)
|
2.
|
list(char) -> list(char)
|
Prepend '+174'
|
('52',)
|
+17452
|
list(char) -> list(char)
|
replace-all-with-index-k with k=1
|
([16],)
|
[16]
|
list(int) -> list(int)
|
has-k with k=3
|
([3, 15],)
|
True
|
list(int) -> bool
|
repeat-k with k=2
|
([4, 11, 11, 12],)
|
[4, 11, 11, 12, 4, 11, 11, 12]
|
list(int) -> list(int)
|
Take first character and append '-'
|
('Scalia',)
|
S-
|
list(char) -> list(char)
|
Append 2 strings (II)
|
('Spell', 'Los')
|
SpellLos
|
list(char) -> list(char) -> list(char)
|
Prepend 'Spell'
|
('Aylward',)
|
SpellAylward
|
list(char) -> list(char)
|
slice-k-n with k=5 and n=5
|
([4, 4, 13, 12, 10, 10, 3, 2, 10, 4, 10, 1, 0, 4, 4],)
|
[10, 10, 3, 2, 10]
|
list(int) -> list(int)
|
ensure suffix `Andria`
|
('+68 +161 Heintz York',)
|
+68 +161 Heintz YorkAndria
|
list(char) -> list(char)
|
remove gt 1
|
([5, 5, 5, 5, 1],)
|
[1]
|
list(int) -> list(int)
|
is-evens
|
([2, 0, 4],)
|
True
|
list(int) -> bool
|
slice-k-n with k=2 and n=3
|
([13, 5, 3, 16, 8, 12],)
|
[5, 3, 16]
|
list(int) -> list(int)
|
ensure suffix `769`
|
('+169 +163 +129 46',)
|
+169 +163 +129 46769
|
list(char) -> list(char)
|
Take first 5 characters
|
('Gregori',)
|
Grego
|
list(char) -> list(char)
|
Abbreviate separate words (IIIII)
|
('21', '169')
|
2.1.
|
list(char) -> list(char) -> list(char)
|
First letters of words (IIII)
|
('Ducati250 Lashanda N Barbara',)
|
DLNB
|
list(char) -> list(char)
|
Prepend '+174'
|
('851',)
|
+174851
|
list(char) -> list(char)
|
Take first 5 characters
|
('Carlene',)
|
Carle
|
list(char) -> list(char)
|
drop-k with k=3
|
([2, 5, 14, 8, 8],)
|
[8, 8]
|
list(int) -> list(int)
|
nth (n=1) word delimited by '-'
|
('504-Jeanice-K',)
|
Jeanice
|
list(char) -> list(char)
|
Append '636'
|
('C',)
|
C636
|
list(char) -> list(char)
|
Prepend 'Sergienko'
|
('Barbara',)
|
SergienkoBarbara
|
list(char) -> list(char)
|
nth (n=1) word delimited by '.'
|
('Karrie.Covelli.882.+129',)
|
Covelli
|
list(char) -> list(char)
|
Abbreviate words separated by '.'
|
('T.81',)
|
T.8.
|
list(char) -> list(char)
|
parentheses around a single word (III)
|
('NY',)
|
(NY)
|
list(char) -> list(char)
|
nth (n=0) word delimited by ','
|
('+115,+106',)
|
+115
|
list(char) -> list(char)
|
prepend-index-k with k=1
|
([7, 10, 5, 13, 1, 6, 11, 10],)
|
[7, 7, 10, 5, 13, 1, 6, 11, 10]
|
list(int) -> list(int)
|
modulo-k with k=3
|
([1, 7, 11, 13],)
|
[1, 1, 2, 1]
|
list(int) -> list(int)
|
drop first word delimited by ','
|
('Rice,Partida,894,40',)
|
Partida,894,40
|
list(char) -> list(char)
|
Replace '(' w/ ')'
|
('Babiarz(Annalisa(+151(Samuel',)
|
Babiarz)Annalisa)+151)Samuel
|
list(char) -> list(char)
|
prepend-index-k with k=5
|
([2, 5, 12, 15, 10, 13],)
|
[10, 2, 5, 12, 15, 10, 13]
|
list(int) -> list(int)
|
add-k with k=1
|
([8, 13, 6],)
|
[9, 14, 7]
|
list(int) -> list(int)
|
First letters of words (IIIII)
|
('Dr UC K Rowden',)
|
DUKR
|
list(char) -> list(char)
|
bool-identify-geq-k with k=1
|
([2, 5, 11],)
|
[True, True, True]
|
list(int) -> list(bool)
|
slice-k-n with k=2 and n=2
|
([9, 5, 16, 1, 15, 12, 6, 7],)
|
[5, 16]
|
list(int) -> list(int)
|
ensure suffix `Andria`
|
('+13 20 +7',)
|
+13 20 +7Andria
|
list(char) -> list(char)
|
nth (n=0) word delimited by '-'
|
('Jeff-Lara-Karrie',)
|
Jeff
|
list(char) -> list(char)
|
Append two words delimited by '.'
|
('+2', 'Jacquiline')
|
+2.Jacquiline
|
list(char) -> list(char) -> list(char)
|
Take first character and append ')'
|
('+169',)
|
+)
|
list(char) -> list(char)
|
kth-largest with k=1
|
([15, 8, 10, 1, 14, 1, 3],)
|
15
|
list(int) -> int
|
nth (n=-1) word delimited by '-'
|
('Alaina-Jacquiline',)
|
Jacquiline
|
list(char) -> list(char)
|
Append '+138'
|
('Hopkins',)
|
Hopkins+138
|
list(char) -> list(char)
|
Abbreviate separate words (IIII)
|
('413', 'Acura')
|
4.A.
|
list(char) -> list(char) -> list(char)
|
Drop last 4 characters
|
('Jenee',)
|
J
|
list(char) -> list(char)
|
parentheses around word delimited by ' ' & '-'
|
(' +194-9',)
|
(+194)-9
|
list(char) -> list(char)
|
caesar-cipher-k-modulo-n with k=2 and n=5
|
([],)
|
[]
|
list(int) -> list(int)
|
keep-mod-head
|
([4, 2, 6, 10, 8, 12],)
|
[8, 12]
|
list(int) -> list(int)
|
caesar-cipher-k-modulo-n with k=2 and n=3
|
([1, 0, 0, 2, 0, 1],)
|
[0, 2, 2, 1, 2, 0]
|
list(int) -> list(int)
|
Abbreviate words separated by '-'
|
('941-162',)
|
9.1.
|
list(char) -> list(char)
|
drop first word delimited by '.'
|
('Jenee.21.80.Soderstrom',)
|
21.80.Soderstrom
|
list(char) -> list(char)
|
bool-identify-geq-k with k=5
|
([2, 5, 4, 2, 12, 2],)
|
[False, True, False, False, True, False]
|
list(int) -> list(bool)
|
parentheses around word delimited by ',' & ' '
|
('Dr,+104 45',)
|
Dr,(+104) 45
|
list(char) -> list(char)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.