description
stringlengths 3
46
| input
stringlengths 4
74
| output
stringlengths 1
90
⌀ | types
stringclasses 9
values |
---|---|---|---|
keep-mod-k with k=4
|
([7, 3, 10, 14, 4],)
|
[4]
|
list(int) -> list(int)
|
Take first 3 characters
|
('598',)
|
598
|
list(char) -> list(char)
|
Prepend '170' to first word
|
('Drexel Maryann',)
|
170Drexel
|
list(char) -> list(char)
|
kth-largest with k=3
|
([4, 1, 11, 2, 3, 15, 2, 0, 12],)
|
11
|
list(int) -> int
|
Abbreviate words separated by '('
|
('048(Joaquin',)
|
0.J.
|
list(char) -> list(char)
|
Abbreviate words separated by ' '
|
('+104 Hayley',)
|
+.H.
|
list(char) -> list(char)
|
parentheses around word delimited by ',' & ','
|
('Bess,994,Montiel',)
|
Bess,(994),Montiel
|
list(char) -> list(char)
|
Prepend 'Sergienko'
|
('Stefany',)
|
SergienkoStefany
|
list(char) -> list(char)
|
remove-mod-k with k=3
|
([],)
|
[]
|
list(int) -> list(int)
|
bool-identify-geq-k with k=2
|
([9, 13, 10, 11, 11],)
|
[True, True, True, True, True]
|
list(int) -> list(bool)
|
append-k with k=5
|
([8],)
|
[8, 5]
|
list(int) -> list(int)
|
Drop last 1 characters
|
('Latimore',)
|
Latimor
|
list(char) -> list(char)
|
Append two words delimited by ','
|
('2', 'Garrard')
|
2,Garrard
|
list(char) -> list(char) -> list(char)
|
Drop last 5 characters
|
('Mcgaughey',)
|
Mcga
|
list(char) -> list(char)
|
Append 'Beata'
|
('S',)
|
SBeata
|
list(char) -> list(char)
|
Abbreviate words separated by ')'
|
('+196)253',)
|
+.2.
|
list(char) -> list(char)
|
Replace '(' w/ ' '
|
('Nancy(Houston',)
|
Nancy Houston
|
list(char) -> list(char)
|
Replace '(' w/ '.'
|
('Spagnoli(7(Seamons',)
|
Spagnoli.7.Seamons
|
list(char) -> list(char)
|
append-index-k with k=4
|
([5, 2, 13, 3, 0, 8],)
|
[5, 2, 13, 3, 0, 8, 3]
|
list(int) -> list(int)
|
Drop last 4 characters
|
('Andria',)
|
An
|
list(char) -> list(char)
|
ensure suffix `769`
|
('Ducati125 A Eccleston +198769',)
|
Ducati125 A Eccleston +198769
|
list(char) -> list(char)
|
Abbreviate separate words (IIIII)
|
('21', '169')
|
2.1.
|
list(char) -> list(char) -> list(char)
|
Abbreviate separate words (I)
|
('Irwin', 'Spell')
|
I.S.
|
list(char) -> list(char) -> list(char)
|
prepend-k with k=0
|
([1, 2, 5, 13, 1, 3],)
|
[0, 1, 2, 5, 13, 1, 3]
|
list(int) -> list(int)
|
Drop last 5 characters
|
('Ferrari250',)
|
Ferra
|
list(char) -> list(char)
|
remove-mod-k with k=5
|
([20, 10, 5, 7],)
|
[7]
|
list(int) -> list(int)
|
drop-k with k=4
|
([4, 3, 8, 1, 14, 9, 6],)
|
[14, 9, 6]
|
list(int) -> list(int)
|
Append 'Cornell'
|
('101',)
|
101Cornell
|
list(char) -> list(char)
|
add-k with k=4
|
([0],)
|
[4]
|
list(int) -> list(int)
|
Prepend 'Spell'
|
('+197',)
|
Spell+197
|
list(char) -> list(char)
|
parentheses around word delimited by ',' & ' '
|
('29,10 Stefany +158',)
|
29,(10) Stefany +158
|
list(char) -> list(char)
|
Replace '.' w/ ')'
|
('Beata.21.119',)
|
Beata)21)119
|
list(char) -> list(char)
|
slice-k-n with k=5 and n=4
|
([1, 4, 15, 3, 15, 8, 14, 5, 9, 4, 4, 2, 15, 7, 8],)
|
[15, 8, 14, 5]
|
list(int) -> list(int)
|
parentheses around word delimited by '-' & '.'
|
('Lain-Edison.C-Temple',)
|
Lain-(Edison).C-Temple
|
list(char) -> list(char)
|
keep-mod-k with k=3
|
([8, 12, 6, 12],)
|
[12, 6, 12]
|
list(int) -> list(int)
|
kth-smallest with k=3
|
([4, 6, 12],)
|
12
|
list(int) -> int
|
drop-k with k=5
|
([5, 10, 1, 4, 3, 5, 6, 0, 6, 3, 16],)
|
[5, 6, 0, 6, 3, 16]
|
list(int) -> list(int)
|
slice-k-n with k=2 and n=4
|
([15, 16, 14, 9, 16, 13, 10, 3, 13, 9, 11],)
|
[16, 14, 9, 16]
|
list(int) -> list(int)
|
keep-mod-k with k=5
|
([8, 13, 8, 0, 14, 0],)
|
[0, 0]
|
list(int) -> list(int)
|
rotate-k with k=1
|
([8, 5, 16, 12, 11],)
|
[11, 8, 5, 16, 12]
|
list(int) -> list(int)
|
kth-largest with k=3
|
([14, 0, 7, 11, 10, 0, 5, 2],)
|
10
|
list(int) -> int
|
nth (n=0) word delimited by '.'
|
('B.25.Jeanice',)
|
B
|
list(char) -> list(char)
|
parentheses around word delimited by '.' & ','
|
('.DPhiladelphia,+132 G',)
|
.(DPhiladelphia),+132 G
|
list(char) -> list(char)
|
empty
|
([12, 15],)
|
False
|
list(int) -> bool
|
Prepend '+167' to first word
|
('Madelaine Carlene',)
|
+167Madelaine
|
list(char) -> list(char)
|
Append two words delimited by ','
|
('Pennsylvania', '+198')
|
Pennsylvania,+198
|
list(char) -> list(char) -> list(char)
|
prepend-index-k with k=3
|
([9, 11, 15, 2],)
|
[15, 9, 11, 15, 2]
|
list(int) -> list(int)
|
rotate-k with k=3
|
([8, 13, 9, 6, 8, 6],)
|
[6, 8, 6, 8, 13, 9]
|
list(int) -> list(int)
|
caesar-cipher-k-modulo-n with k=5 and n=2
|
([0, 0, 1, 1, 0],)
|
[1, 1, 0, 0, 1]
|
list(int) -> list(int)
|
parentheses around word delimited by '-' & '.'
|
('9-Ducati125.976.Alida',)
|
9-(Ducati125).976.Alida
|
list(char) -> list(char)
|
Append two words delimited by '..'
|
('Vena', '50')
|
Vena..50
|
list(char) -> list(char) -> list(char)
|
keep gt 2
|
([3, 5, 3, 3, 2],)
|
[3, 5, 3, 3]
|
list(int) -> list(int)
|
Replace '(' w/ ' '
|
('CT(Heintz(Cornell(Phillip',)
|
CT Heintz Cornell Phillip
|
list(char) -> list(char)
|
bool-identify-k with k=0
|
([0, 0, 0, 14, 9],)
|
[True, True, True, False, False]
|
list(int) -> list(bool)
|
caesar-cipher-k-modulo-n with k=1 and n=3
|
([1, 1, 2, 1, 2, 2, 2],)
|
[2, 2, 0, 2, 0, 0, 0]
|
list(int) -> list(int)
|
Replace '(' w/ ' '
|
('+194(Alaina',)
|
+194 Alaina
|
list(char) -> list(char)
|
kth-smallest with k=4
|
([11, 12, 5, 13, 11, 4, 16, 0, 8],)
|
8
|
list(int) -> int
|
evens
|
([4],)
|
[4]
|
list(int) -> list(int)
|
Append 2 strings (IIIIII)
|
('O', '765')
|
O765
|
list(char) -> list(char) -> list(char)
|
pow-k with k=2
|
([3],)
|
[9]
|
list(int) -> list(int)
|
has-head-in-tail
|
([11, 11, 11],)
|
True
|
list(int) -> bool
|
append-k with k=5
|
([],)
|
[5]
|
list(int) -> list(int)
|
drop first word delimited by ' '
|
('S 2 86 178',)
|
2 86 178
|
list(char) -> list(char)
|
prepend-index-k with k=3
|
([8, 14, 3, 5, 11],)
|
[3, 8, 14, 3, 5, 11]
|
list(int) -> list(int)
|
Extract word delimited by ')' - ','
|
('+104)+58,Ramthun,Bobo',)
|
+58
|
list(char) -> list(char)
|
Append two words delimited by '-'
|
('47', 'NY')
|
47-NY
|
list(char) -> list(char) -> list(char)
|
Replace '-' w/ ','
|
('2-FreeHafer-+188',)
|
2,FreeHafer,+188
|
list(char) -> list(char)
|
keep gt 2
|
([3, 5, 3, 3, 2],)
|
[3, 5, 3, 3]
|
list(int) -> list(int)
|
Drop last 3 characters
|
('Brescia',)
|
Bres
|
list(char) -> list(char)
|
kth-largest with k=4
|
([5, 11, 5, 6, 7, 1, 3, 9, 14, 8],)
|
8
|
list(int) -> int
|
evens
|
([2, 0, 4],)
|
[2, 0, 4]
|
list(int) -> list(int)
|
modulo-k with k=1
|
([15, 0, 2, 7, 11, 13],)
|
[0, 0, 0, 0, 0, 0]
|
list(int) -> list(int)
|
Replace '-' w/ ','
|
('+138-Irwin-46',)
|
+138,Irwin,46
|
list(char) -> list(char)
|
Append two words delimited by '.-'
|
('Mackenzie', '163')
|
Mackenzie.-163
|
list(char) -> list(char) -> list(char)
|
nth (n=1) word delimited by ' '
|
('29 Ferrari250',)
|
Ferrari250
|
list(char) -> list(char)
|
slice-k-n with k=5 and n=5
|
([0, 13, 5, 7, 16, 11, 12, 2, 0, 3, 9, 14, 6, 2],)
|
[16, 11, 12, 2, 0]
|
list(int) -> list(int)
|
range
|
(3,)
|
[0, 1, 2]
|
int -> list(int)
|
keep gt 0
|
([5, 2, 5, 6, 6],)
|
[5, 2, 5, 6, 6]
|
list(int) -> list(int)
|
bool-identify-k with k=0
|
([9, 7, 2, 6],)
|
[False, False, False, False]
|
list(int) -> list(bool)
|
mult-k with k=4
|
([3],)
|
[12]
|
list(int) -> list(int)
|
append-k with k=5
|
([4, 2],)
|
[4, 2, 5]
|
list(int) -> list(int)
|
remove-index-k with k=2
|
([2, 16, 6, 4, 4, 1, 5],)
|
[2, 6, 4, 4, 1, 5]
|
list(int) -> list(int)
|
prepend-index-k with k=1
|
([9, 8, 10, 8, 4],)
|
[9, 9, 8, 10, 8, 4]
|
list(int) -> list(int)
|
prepend-k with k=3
|
([],)
|
[3]
|
list(int) -> list(int)
|
Prepend '177' to first word
|
('Alaina +141',)
|
177Alaina
|
list(char) -> list(char)
|
slice-k-n with k=5 and n=5
|
([10, 9, 6, 15, 6, 12, 6, 7, 5, 9, 6, 5, 13],)
|
[6, 12, 6, 7, 5]
|
list(int) -> list(int)
|
bool-identify-is-mod-k with k=1
|
([],)
|
[]
|
list(int) -> list(bool)
|
Append 'Dermody'
|
('085',)
|
085Dermody
|
list(char) -> list(char)
|
sort
|
([16, 0],)
|
[0, 16]
|
list(int) -> list(int)
|
parentheses around second word
|
('856 +138 424 Montiel',)
|
(+138)
|
list(char) -> list(char)
|
Replace '(' w/ '.'
|
('C(40',)
|
C.40
|
list(char) -> list(char)
|
Prepend '+174'
|
('Jurgens',)
|
+174Jurgens
|
list(char) -> list(char)
|
append-index-k with k=2
|
([14, 12, 12, 15, 5, 12, 2, 8, 2],)
|
[14, 12, 12, 15, 5, 12, 2, 8, 2, 12]
|
list(int) -> list(int)
|
Append 2 strings (I)
|
('Richert', 'NY')
|
RichertNY
|
list(char) -> list(char) -> list(char)
|
remove eq 3
|
([3, 4, 6, 4, 1],)
|
[4, 6, 4, 1]
|
list(int) -> list(int)
|
caesar-cipher-k-modulo-n with k=2 and n=4
|
([0, 2, 1, 2],)
|
[2, 0, 3, 0]
|
list(int) -> list(int)
|
len
|
([3],)
|
1
|
list(int) -> int
|
remove eq 0
|
([4, 0, 5, 1, 0],)
|
[4, 5, 1]
|
list(int) -> list(int)
|
bool-identify-geq-k with k=0
|
([10, 16],)
|
[True, True]
|
list(int) -> list(bool)
|
Abbreviate separate words (III)
|
('038', 'Hornak')
|
0.H.
|
list(char) -> list(char) -> list(char)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.