description
stringlengths 3
46
| input
stringlengths 4
74
| output
stringlengths 1
90
⌀ | types
stringclasses 9
values |
---|---|---|---|
slice-k-n with k=2 and n=2
|
([9, 5, 16, 1, 15, 12, 6, 7],)
|
[5, 16]
|
list(int) -> list(int)
|
caesar-cipher-k-modulo-n with k=5 and n=2
|
([],)
|
[]
|
list(int) -> list(int)
|
Drop last 3 characters
|
('Brescia',)
|
Bres
|
list(char) -> list(char)
|
Append 'Beata'
|
('997',)
|
997Beata
|
list(char) -> list(char)
|
Abbreviate words separated by '('
|
('048(Joaquin',)
|
0.J.
|
list(char) -> list(char)
|
append-index-k with k=2
|
([15, 0, 11, 14],)
|
[15, 0, 11, 14, 0]
|
list(int) -> list(int)
|
Abbreviate words separated by '-'
|
('Cruz-150',)
|
C.1.
|
list(char) -> list(char)
|
kth-largest with k=4
|
([4, 3, 8, 1, 14, 9, 6],)
|
6
|
list(int) -> int
|
Take first 5 characters
|
('Desiree',)
|
Desir
|
list(char) -> list(char)
|
is-mod-k with k=5
|
([65, 35, 5, 35, 5, 80],)
|
True
|
list(int) -> bool
|
nth (n=-1) word delimited by '-'
|
('+172-University-College',)
|
College
|
list(char) -> list(char)
|
Abbreviate words separated by '('
|
('G(Partida',)
|
G.P.
|
list(char) -> list(char)
|
Replace '(' w/ ' '
|
('CT(Heintz(Cornell(Phillip',)
|
CT Heintz Cornell Phillip
|
list(char) -> list(char)
|
Prepend '170' to first word
|
('of Latimore',)
|
170of
|
list(char) -> list(char)
|
Take first 2 characters
|
('+2',)
|
+2
|
list(char) -> list(char)
|
Prepend 'Spell'
|
('+197',)
|
Spell+197
|
list(char) -> list(char)
|
add-k with k=2
|
([5],)
|
[7]
|
list(int) -> list(int)
|
drop first word delimited by ')'
|
('Jeanice)+194)+189)491',)
|
+194)+189)491
|
list(char) -> list(char)
|
remove-mod-k with k=3
|
([4, 15, 1, 6],)
|
[4, 1]
|
list(int) -> list(int)
|
Drop last 5 characters
|
('Cencici',)
|
Ce
|
list(char) -> list(char)
|
slice-k-n with k=2 and n=5
|
([11, 3, 7, 16, 4, 8, 6, 7, 9, 3, 0, 5, 6],)
|
[3, 7, 16, 4, 8]
|
list(int) -> list(int)
|
dup
|
([4, 9, 2],)
|
[4, 4, 9, 9, 2, 2]
|
list(int) -> list(int)
|
modulo-k with k=3
|
([4, 4, 12, 7, 13, 9],)
|
[1, 1, 0, 1, 1, 0]
|
list(int) -> list(int)
|
Append 2 strings (III)
|
('Cambridge', 'Honda550')
|
CambridgeHonda550
|
list(char) -> list(char) -> list(char)
|
append-index-k with k=5
|
([8, 16, 5, 13, 14, 12, 6, 0],)
|
[8, 16, 5, 13, 14, 12, 6, 0, 14]
|
list(int) -> list(int)
|
remove-index-k with k=2
|
([12, 14, 13, 2],)
|
[12, 13, 2]
|
list(int) -> list(int)
|
count-k with k=3
|
([2, 13],)
|
0
|
list(int) -> int
|
Append 2 strings (IIII)
|
('141', '636')
|
141636
|
list(char) -> list(char) -> list(char)
|
kth-largest with k=1
|
([12, 0],)
|
12
|
list(int) -> int
|
min
|
([9, 9, 2, 11],)
|
2
|
list(int) -> int
|
prepend-k with k=5
|
([2, 5, 5, 0],)
|
[5, 2, 5, 5, 0]
|
list(int) -> list(int)
|
remove empty lists
|
([[], [False], [], [False]],)
|
[[False], [False]]
|
list(list(bool)) -> list(list(bool))
|
add-k with k=3
|
([11, 14, 7],)
|
[14, 17, 10]
|
list(int) -> list(int)
|
slice-k-n with k=3 and n=1
|
([1, 1, 11, 16, 7, 2],)
|
[11]
|
list(int) -> list(int)
|
Extract word delimited by ')' - '-'
|
('+60)Lain-Ducati100-Bradford',)
|
Lain
|
list(char) -> list(char)
|
Append 2 strings (I)
|
('Georgina', '2')
|
Georgina2
|
list(char) -> list(char) -> list(char)
|
slice-k-n with k=5 and n=3
|
([13, 12, 5, 15, 16, 16, 1, 7, 1, 15],)
|
[16, 16, 1]
|
list(int) -> list(int)
|
Prepend 'Hornak'
|
('H',)
|
HornakH
|
list(char) -> list(char)
|
slice-k-n with k=2 and n=4
|
([7, 7, 8, 3, 4, 0, 14, 4, 10, 7, 15, 6],)
|
[7, 8, 3, 4]
|
list(int) -> list(int)
|
nth (n=0) word delimited by '-'
|
('Jeff-Lara-Karrie',)
|
Jeff
|
list(char) -> list(char)
|
keep squares
|
([16, 25, 8, 4, 8, 2, 7],)
|
[16, 25, 4]
|
list(int) -> list(int)
|
append-index-k with k=1
|
([12],)
|
[12, 12]
|
list(int) -> list(int)
|
Append 2 strings (IIIIII)
|
('Miah', '81')
|
Miah81
|
list(char) -> list(char) -> list(char)
|
dup
|
([0, 5, 8, 16],)
|
[0, 0, 5, 5, 8, 8, 16, 16]
|
list(int) -> list(int)
|
Append '+138'
|
('Cornell',)
|
Cornell+138
|
list(char) -> list(char)
|
append-k with k=4
|
([11, 14, 14, 0, 5, 10],)
|
[11, 14, 14, 0, 5, 10, 4]
|
list(int) -> list(int)
|
remove-mod-k with k=5
|
([5, 2, 1],)
|
[2, 1]
|
list(int) -> list(int)
|
Abbreviate words separated by '.'
|
('Cambridge.6',)
|
C.6.
|
list(char) -> list(char)
|
Extract word delimited by ')' - ','
|
('Cambridge)Storrs,449)10',)
|
Storrs
|
list(char) -> list(char)
|
prepend-k with k=4
|
([12, 10, 7, 4, 0, 15, 8],)
|
[4, 12, 10, 7, 4, 0, 15, 8]
|
list(int) -> list(int)
|
bool-identify-k with k=0
|
([],)
|
[]
|
list(int) -> list(bool)
|
remove-mod-k with k=3
|
([1, 1],)
|
[1, 1]
|
list(int) -> list(int)
|
caesar-cipher-k-modulo-n with k=1 and n=2
|
([1, 0, 1, 0, 0, 1, 0],)
|
[0, 1, 0, 1, 1, 0, 1]
|
list(int) -> list(int)
|
nth (n=-1) word delimited by '.'
|
('+118.Mulloy.56',)
|
56
|
list(char) -> list(char)
|
Abbreviate words separated by ','
|
('Trinidad,58',)
|
T.5.
|
list(char) -> list(char)
|
slice-k-n with k=3 and n=4
|
([9, 8, 16, 9, 14, 9, 12, 1, 1, 0, 13, 0],)
|
[16, 9, 14, 9]
|
list(int) -> list(int)
|
First letters of words (III)
|
('Trinidad 500 862',)
|
T58
|
list(char) -> list(char)
|
is-mod-k with k=5
|
([],)
|
True
|
list(int) -> bool
|
nth (n=0) word delimited by ')'
|
('+105)046)Casler',)
|
+105
|
list(char) -> list(char)
|
prepend-k with k=4
|
([7, 16, 9, 16, 9],)
|
[4, 7, 16, 9, 16, 9]
|
list(int) -> list(int)
|
parentheses around word delimited by ' ' & ' '
|
('Honda250 Melodi +9-Kotas',)
|
Honda250 (Melodi) +9-Kotas
|
list(char) -> list(char)
|
Prepend '+167' to first word
|
('172 Hayley',)
|
+167172
|
list(char) -> list(char)
|
Abbreviate separate words (I)
|
('Irwin', 'Spell')
|
I.S.
|
list(char) -> list(char) -> list(char)
|
modulo-k with k=5
|
([7, 4, 0, 1, 11],)
|
[2, 4, 0, 1, 1]
|
list(int) -> list(int)
|
kth-smallest with k=5
|
([8, 4, 16, 7, 10, 5, 13, 1, 6, 11],)
|
7
|
list(int) -> int
|
last
|
([8, 4, 3, 13],)
|
13
|
list(int) -> int
|
has-k with k=5
|
([12],)
|
False
|
list(int) -> bool
|
bool-identify-k with k=4
|
([4, 4, 4, 12],)
|
[True, True, True, False]
|
list(int) -> list(bool)
|
Append two words delimited by ')'
|
('Vena', 'Eccleston')
|
Vena)Eccleston
|
list(char) -> list(char) -> list(char)
|
nth (n=1) word delimited by ' '
|
('Soderstrom Scalia',)
|
Scalia
|
list(char) -> list(char)
|
slice-k-n with k=4 and n=3
|
([8, 4, 3, 7, 1, 10, 14, 7],)
|
[7, 1, 10]
|
list(int) -> list(int)
|
Prepend 'UCLA'
|
('Santa',)
|
UCLASanta
|
list(char) -> list(char)
|
Prepend 'Ghoston' to first word
|
('FreeHafer 47',)
|
GhostonFreeHafer
|
list(char) -> list(char)
|
append-k with k=3
|
([6, 7, 9, 14],)
|
[6, 7, 9, 14, 3]
|
list(int) -> list(int)
|
Abbreviate separate words (IIIII)
|
('Mulloy', 'V')
|
M.V.
|
list(char) -> list(char) -> list(char)
|
Append 'Beata'
|
('997',)
|
997Beata
|
list(char) -> list(char)
|
drop first word delimited by '.'
|
('598.849.854.Kimberley',)
|
849.854.Kimberley
|
list(char) -> list(char)
|
remove-mod-k with k=5
|
([10, 15, 40],)
|
[]
|
list(int) -> list(int)
|
Replace '-' w/ ' '
|
('Jacqualine-62',)
|
Jacqualine 62
|
list(char) -> list(char)
|
keep gt 0
|
([1, 1, 6, 6, 2],)
|
[1, 1, 6, 6, 2]
|
list(int) -> list(int)
|
kth-largest with k=5
|
([13, 11, 10, 7, 13, 11, 9],)
|
10
|
list(int) -> int
|
drop first word delimited by ','
|
('Rice,Partida,894,40',)
|
Partida,894,40
|
list(char) -> list(char)
|
Replace ' ' w/ '('
|
('035 Penn Hornak',)
|
035(Penn(Hornak
|
list(char) -> list(char)
|
remove gt 1
|
([0, 6, 0, 4, 2],)
|
[0, 0]
|
list(int) -> list(int)
|
Append two words delimited by '('
|
('204', 'Elias')
|
204(Elias
|
list(char) -> list(char) -> list(char)
|
caesar-cipher-k-modulo-n with k=2 and n=5
|
([],)
|
[]
|
list(int) -> list(int)
|
Replace '.' w/ ')'
|
('83.Ramthun',)
|
83)Ramthun
|
list(char) -> list(char)
|
Replace '-' w/ ' '
|
('Jacqualine-62',)
|
Jacqualine 62
|
list(char) -> list(char)
|
Take first character and append '.'
|
('+46',)
|
+.
|
list(char) -> list(char)
|
rotate-k with k=4
|
([15, 3, 16, 12, 14, 13, 5, 8, 8, 9],)
|
[5, 8, 8, 9, 15, 3, 16, 12, 14, 13]
|
list(int) -> list(int)
|
repeat-k with k=3
|
([11, 10],)
|
[11, 10, 11, 10, 11, 10]
|
list(int) -> list(int)
|
rotate-k with k=1
|
([16, 15, 10, 15, 5, 16, 9, 7, 9, 11, 2, 2],)
|
[2, 16, 15, 10, 15, 5, 16, 9, 7, 9, 11, 2]
|
list(int) -> list(int)
|
nth (n=1) word delimited by '('
|
('W(517(+199',)
|
517
|
list(char) -> list(char)
|
nth (n=-1) word delimited by '-'
|
('473-Nancy-980-166',)
|
166
|
list(char) -> list(char)
|
remove-index-k with k=1
|
([4, 8, 11, 0, 8, 11],)
|
[8, 11, 0, 8, 11]
|
list(int) -> list(int)
|
replace-all-with-index-k with k=1
|
([7, 6],)
|
[7, 7]
|
list(int) -> list(int)
|
caesar-cipher-k-modulo-n with k=4 and n=5
|
([],)
|
[]
|
list(int) -> list(int)
|
nth (n=-1) word delimited by ','
|
('+194,Scalia,Montiel,Ghoston',)
|
Ghoston
|
list(char) -> list(char)
|
parentheses around word delimited by '-' & '.'
|
('Lain-Edison.C-Temple',)
|
Lain-(Edison).C-Temple
|
list(char) -> list(char)
|
nth (n=1) word delimited by ')'
|
('R)+144',)
|
+144
|
list(char) -> list(char)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.