description
stringlengths 3
46
| input
stringlengths 4
74
| output
stringlengths 1
90
⌀ | types
stringclasses 9
values |
---|---|---|---|
keep gt 2
|
([4, 2, 2, 5, 5],)
|
[4, 5, 5]
|
list(int) -> list(int)
|
drop-k with k=4
|
([5, 12, 2, 4, 15, 16],)
|
[15, 16]
|
list(int) -> list(int)
|
mult-k with k=4
|
([3],)
|
[12]
|
list(int) -> list(int)
|
Append two words delimited by '.-'
|
('Philadelphia', '6')
|
Philadelphia.-6
|
list(char) -> list(char) -> list(char)
|
Replace '-' w/ ' '
|
('+106-Yale-+130-+141',)
|
+106 Yale +130 +141
|
list(char) -> list(char)
|
bool-identify-k with k=2
|
([2, 2, 2, 2, 2, 2],)
|
[True, True, True, True, True, True]
|
list(int) -> list(bool)
|
nth (n=-1) word delimited by '-'
|
('21-of',)
|
of
|
list(char) -> list(char)
|
Abbreviate words separated by ' '
|
('938 Alida',)
|
9.A.
|
list(char) -> list(char)
|
kth-smallest with k=4
|
([2, 1, 12, 15],)
|
15
|
list(int) -> int
|
Take first 4 characters
|
('Ducati250',)
|
Duca
|
list(char) -> list(char)
|
Take first character and append '.'
|
('Marquess',)
|
M.
|
list(char) -> list(char)
|
index-k with k=3
|
([5, 12, 14, 13, 2, 3, 14, 5, 3],)
|
14
|
list(int) -> int
|
First letters of words (IIII)
|
('310 817 Q +185',)
|
38Q+
|
list(char) -> list(char)
|
Replace '(' w/ '.'
|
('C(40',)
|
C.40
|
list(char) -> list(char)
|
Abbreviate separate words (II)
|
('York', 'Madelaine')
|
Y.M.
|
list(char) -> list(char) -> list(char)
|
replace-all-with-index-k with k=5
|
([2, 4, 9, 8, 7, 9, 16],)
|
[7, 7, 7, 7, 7, 7, 7]
|
list(int) -> list(int)
|
count-k with k=0
|
([0, 8],)
|
1
|
list(int) -> int
|
Take first 2 characters
|
('334',)
|
33
|
list(char) -> list(char)
|
prepend-k with k=4
|
([16, 9, 3],)
|
[4, 16, 9, 3]
|
list(int) -> list(int)
|
Abbreviate words separated by '.'
|
('T.81',)
|
T.8.
|
list(char) -> list(char)
|
Prepend '086' to first word
|
('Ducati Penn',)
|
086Ducati
|
list(char) -> list(char)
|
repeat-k with k=4
|
([3, 1, 12, 6],)
|
[3, 1, 12, 6, 3, 1, 12, 6, 3, 1, 12, 6, 3, 1, 12, 6]
|
list(int) -> list(int)
|
remove eq 2
|
([5, 3, 5, 5, 2],)
|
[5, 3, 5, 5]
|
list(int) -> list(int)
|
slice-k-n with k=4 and n=5
|
([7, 4, 12, 1, 11, 13, 14, 11, 11, 2, 2, 0, 14, 15],)
|
[1, 11, 13, 14, 11]
|
list(int) -> list(int)
|
parentheses around word delimited by ',' & ','
|
('+174,Bradford,University',)
|
+174,(Bradford),University
|
list(char) -> list(char)
|
nth (n=-1) word delimited by ' '
|
('K 358 Jacquiline Columbia',)
|
Columbia
|
list(char) -> list(char)
|
keep gt 3
|
([6, 6, 4, 1, 4],)
|
[6, 6, 4, 4]
|
list(int) -> list(int)
|
ensure suffix `997`
|
('Marcus +108 Ramthun Rudolf',)
|
Marcus +108 Ramthun Rudolf997
|
list(char) -> list(char)
|
Abbreviate words separated by ','
|
('R,+108',)
|
R.+.
|
list(char) -> list(char)
|
add-k with k=5
|
([12],)
|
[17]
|
list(int) -> list(int)
|
slice-k-n with k=3 and n=4
|
([6, 9, 12, 0, 0, 3, 13, 11, 13],)
|
[12, 0, 0, 3]
|
list(int) -> list(int)
|
Append 2 strings (II)
|
('245', 'Casler')
|
245Casler
|
list(char) -> list(char) -> list(char)
|
Prepend 'UCLA'
|
('Sergienko',)
|
UCLASergienko
|
list(char) -> list(char)
|
Replace '-' w/ ' '
|
('+106-Yale-+130-+141',)
|
+106 Yale +130 +141
|
list(char) -> list(char)
|
remove gt 1
|
([5, 6, 6, 3, 0],)
|
[0]
|
list(int) -> list(int)
|
Extract word delimited by ',' - ','
|
('+75,FreeHafer,861,Babiarz',)
|
FreeHafer
|
list(char) -> list(char)
|
nth (n=1) word delimited by '-'
|
('504-Jeanice-K',)
|
Jeanice
|
list(char) -> list(char)
|
Append 2 strings (I)
|
('I', '+172')
|
I+172
|
list(char) -> list(char) -> list(char)
|
prepend-k with k=0
|
([5],)
|
[0, 5]
|
list(int) -> list(int)
|
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)
|
odds
|
([1, 1, 3],)
|
[1, 1, 3]
|
list(int) -> list(int)
|
Append two words delimited by ')'
|
('Storrs', 'Jacquiline')
|
Storrs)Jacquiline
|
list(char) -> list(char) -> list(char)
|
Prepend '086' to first word
|
('18 Miah',)
|
08618
|
list(char) -> list(char)
|
tail
|
([2, 10, 3, 12],)
|
[10, 3, 12]
|
list(int) -> list(int)
|
Append two words delimited by ' '
|
('35', 'Rowden')
|
35 Rowden
|
list(char) -> list(char) -> list(char)
|
Append 'Cornell'
|
('IL',)
|
ILCornell
|
list(char) -> list(char)
|
bool-identify-geq-k with k=1
|
([6, 1, 3, 4, 15, 3],)
|
[True, True, True, True, True, True]
|
list(int) -> list(bool)
|
min
|
([1],)
|
1
|
list(int) -> int
|
ensure suffix `Columbia`
|
('Ferrari250 +58 AndrewColumbia',)
|
Ferrari250 +58 AndrewColumbia
|
list(char) -> list(char)
|
nth (n=-1) word delimited by ' '
|
('Park +183 186',)
|
186
|
list(char) -> list(char)
|
bool-identify-is-mod-k with k=4
|
([4, 4, 2, 4, 4, 4],)
|
[True, True, False, True, True, True]
|
list(int) -> list(bool)
|
parentheses around word delimited by '-' & '.'
|
('Lain-Edison.C-Temple',)
|
Lain-(Edison).C-Temple
|
list(char) -> list(char)
|
kth-largest with k=2
|
([8, 13, 5, 2],)
|
8
|
list(int) -> int
|
modulo-k with k=4
|
([0, 13, 1, 10, 5, 2, 8],)
|
[0, 1, 1, 2, 1, 2, 0]
|
list(int) -> list(int)
|
Prepend 'Hornak'
|
('Mackenzie',)
|
HornakMackenzie
|
list(char) -> list(char)
|
slice-k-n with k=3 and n=4
|
([0, 9, 14, 0, 7, 12, 14, 4, 7, 0, 12, 10],)
|
[14, 0, 7, 12]
|
list(int) -> list(int)
|
Append two words delimited by '..'
|
('568', 'Teddy')
|
568..Teddy
|
list(char) -> list(char) -> list(char)
|
Append 2 strings (IIIIII)
|
('+199', '919')
|
+199919
|
list(char) -> list(char) -> list(char)
|
max
|
([4, 12],)
|
12
|
list(int) -> int
|
append-index-k with k=3
|
([14, 2, 10, 6, 7, 9, 14, 2],)
|
[14, 2, 10, 6, 7, 9, 14, 2, 10]
|
list(int) -> list(int)
|
rotate-k with k=2
|
([0, 13, 14, 13, 1, 14, 12],)
|
[14, 12, 0, 13, 14, 13, 1]
|
list(int) -> list(int)
|
First letters of words (IIIII)
|
('46 439',)
|
44
|
list(char) -> list(char)
|
Drop last 1 characters
|
('+130',)
|
+13
|
list(char) -> list(char)
|
Append 2 strings (III)
|
('35', '981')
|
35981
|
list(char) -> list(char) -> list(char)
|
drop first word delimited by ','
|
('Rice,Partida,894,40',)
|
Partida,894,40
|
list(char) -> list(char)
|
is-squares
|
([196, 49, 9, 1, 81, 81, 25],)
|
True
|
list(int) -> bool
|
Replace '(' w/ ' '
|
('Nancy(Houston',)
|
Nancy Houston
|
list(char) -> list(char)
|
First letters of words (IIIII)
|
('Dr UC K Rowden',)
|
DUKR
|
list(char) -> list(char)
|
rotate-k with k=4
|
([7, 7, 2, 1, 10, 7, 2, 4, 3, 4, 10, 3, 12, 0, 15, 14],)
|
[12, 0, 15, 14, 7, 7, 2, 1, 10, 7, 2, 4, 3, 4, 10, 3]
|
list(int) -> list(int)
|
keep primes
|
([3, 19, 37, 3, 29, 31, 7],)
|
[3, 19, 37, 3, 29, 31, 7]
|
list(int) -> list(int)
|
Append two words delimited by '(,'
|
('Ducati100', '+176')
|
Ducati100(,+176
|
list(char) -> list(char) -> list(char)
|
Append 2 strings (I)
|
('Phialdelphia', '40')
|
Phialdelphia40
|
list(char) -> list(char) -> list(char)
|
parentheses around a single word (IIII)
|
('+176',)
|
(+176)
|
list(char) -> list(char)
|
repeat-k with k=3
|
([8],)
|
[8, 8, 8]
|
list(int) -> list(int)
|
bool-identify-geq-k with k=1
|
([3, 3, 3, 3],)
|
[True, True, True, True]
|
list(int) -> list(bool)
|
has-k with k=2
|
([2],)
|
True
|
list(int) -> bool
|
Append 2 strings (II)
|
('I', 'P')
|
IP
|
list(char) -> list(char) -> list(char)
|
First letters of words (II)
|
('Celsa Latimore',)
|
CL
|
list(char) -> list(char)
|
parentheses around word delimited by '.' & ','
|
('.+197,64',)
|
.(+197),64
|
list(char) -> list(char)
|
bool-identify-k with k=4
|
([],)
|
[]
|
list(int) -> list(bool)
|
nth (n=-1) word delimited by ')'
|
('+151)50)Withers',)
|
Withers
|
list(char) -> list(char)
|
count-k with k=2
|
([2, 2, 2, 2, 16, 2],)
|
5
|
list(int) -> int
|
Append 2 strings (IIIII)
|
('Soderstrom', '+199')
|
Soderstrom+199
|
list(char) -> list(char) -> list(char)
|
Append 'Cornell'
|
('101',)
|
101Cornell
|
list(char) -> list(char)
|
rotate-k with k=2
|
([13, 15, 0, 2, 1, 12, 8, 8, 4, 3],)
|
[4, 3, 13, 15, 0, 2, 1, 12, 8, 8]
|
list(int) -> list(int)
|
ensure suffix `769`
|
('Andria +140 Spell',)
|
Andria +140 Spell769
|
list(char) -> list(char)
|
caesar-cipher-k-modulo-n with k=5 and n=4
|
([2, 0, 1, 1],)
|
[3, 1, 2, 2]
|
list(int) -> list(int)
|
keep squares
|
([9, 0, 16, 1, 16, 0, 3],)
|
[9, 0, 16, 1, 16, 0]
|
list(int) -> list(int)
|
mult-k with k=5
|
([4, 12, 3, 15, 5, 5, 2],)
|
[20, 60, 15, 75, 25, 25, 10]
|
list(int) -> list(int)
|
product
|
([7, 15],)
|
105
|
list(int) -> int
|
nth (n=0) word delimited by '.'
|
('505.+46',)
|
505
|
list(char) -> list(char)
|
kth-largest with k=5
|
([1, 12, 11, 6, 11, 15, 11, 2, 7, 8, 13],)
|
11
|
list(int) -> int
|
append-index-k with k=1
|
([15, 4, 3],)
|
[15, 4, 3, 15]
|
list(int) -> list(int)
|
bool-identify-k with k=1
|
([1, 1, 1, 1],)
|
[True, True, True, True]
|
list(int) -> list(bool)
|
is-mod-k with k=5
|
([],)
|
True
|
list(int) -> bool
|
Append two words delimited by '('
|
('Q', 'Ducati250')
|
Q(Ducati250
|
list(char) -> list(char) -> list(char)
|
min
|
([3, 15, 14, 3, 5, 15],)
|
3
|
list(int) -> int
|
ensure suffix `997`
|
('Hopkins 701 F',)
|
Hopkins 701 F997
|
list(char) -> list(char)
|
First letters of words (IIIII)
|
('Honda550 +180 Q',)
|
H+Q
|
list(char) -> list(char)
|
+1 maximum list
|
([8, 7, 5, 9, 7],)
|
10
|
list(int) -> int
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.