description
stringlengths 3
46
| input
stringlengths 4
74
| output
stringlengths 1
90
⌀ | types
stringclasses 9
values |
---|---|---|---|
append-index-k with k=4
|
([1, 1, 10, 6, 6, 12, 0, 7, 13, 15, 16],)
|
[1, 1, 10, 6, 6, 12, 0, 7, 13, 15, 16, 6]
|
list(int) -> list(int)
|
tail
|
([9, 5, 7, 5, 4, 1],)
|
[5, 7, 5, 4, 1]
|
list(int) -> list(int)
|
slice-k-n with k=2 and n=3
|
([16, 8, 13, 3, 9, 1, 16, 9, 3, 4],)
|
[8, 13, 3]
|
list(int) -> list(int)
|
modulo-k with k=5
|
([2, 2, 13, 0, 13, 5, 2],)
|
[2, 2, 3, 0, 3, 0, 2]
|
list(int) -> list(int)
|
remove-mod-k with k=3
|
([6, 3, 11, 12],)
|
[11]
|
list(int) -> list(int)
|
is-mod-k with k=1
|
([1, 13, 10, 13],)
|
True
|
list(int) -> bool
|
keep gt 2
|
([6, 2, 2, 6, 3],)
|
[6, 6, 3]
|
list(int) -> list(int)
|
slice-k-n with k=4 and n=4
|
([15, 5, 1, 4, 11, 7, 8, 15, 3, 1, 7, 1, 3, 8, 4, 14],)
|
[4, 11, 7, 8]
|
list(int) -> list(int)
|
Replace '(' w/ '.'
|
('75(University',)
|
75.University
|
list(char) -> list(char)
|
parentheses around a single word (I)
|
('Withers',)
|
(Withers)
|
list(char) -> list(char)
|
caesar-cipher-k-modulo-n with k=4 and n=3
|
([1, 1, 0, 0],)
|
[2, 2, 1, 1]
|
list(int) -> list(int)
|
kth-smallest with k=5
|
([7, 11, 5, 11, 16, 6, 0, 0, 8],)
|
7
|
list(int) -> int
|
caesar-cipher-k-modulo-n with k=1 and n=2
|
([0, 1, 0],)
|
[1, 0, 1]
|
list(int) -> list(int)
|
drop first word delimited by ','
|
('+6,Micha,167',)
|
Micha,167
|
list(char) -> list(char)
|
count-k with k=2
|
([9, 16, 3, 2, 7, 2],)
|
2
|
list(int) -> int
|
Replace ' ' w/ '('
|
('+9 Rowden Reily',)
|
+9(Rowden(Reily
|
list(char) -> list(char)
|
parentheses around second word
|
('California 86',)
|
(86)
|
list(char) -> list(char)
|
keep-mod-head
|
([3, 24, 3, 9, 12],)
|
[24, 3, 9, 12]
|
list(int) -> list(int)
|
slice-k-n with k=4 and n=2
|
([6, 11, 12, 6, 11, 5, 0],)
|
[6, 11]
|
list(int) -> list(int)
|
caesar-cipher-k-modulo-n with k=2 and n=5
|
([1, 2, 4, 1, 0],)
|
[3, 4, 1, 3, 2]
|
list(int) -> list(int)
|
First letters of words (IIIIII)
|
('888 Penn 50 UC',)
|
8P5U
|
list(char) -> list(char)
|
index-k with k=3
|
([8, 14, 2, 12, 3, 6, 0],)
|
2
|
list(int) -> int
|
add-k with k=2
|
([8, 6, 14, 7, 14, 16, 13],)
|
[10, 8, 16, 9, 16, 18, 15]
|
list(int) -> list(int)
|
nth (n=-1) word delimited by ','
|
('468,376',)
|
376
|
list(char) -> list(char)
|
count-head-in-tail
|
([4],)
|
0
|
list(int) -> int
|
parentheses around word delimited by '-' & '.'
|
('-Spell.Rowden Arbor',)
|
-(Spell).Rowden Arbor
|
list(char) -> list(char)
|
Replace ',' w/ '('
|
('Nancy,334,611,+172',)
|
Nancy(334(611(+172
|
list(char) -> list(char)
|
slice-k-n with k=3 and n=5
|
([8, 5, 10, 10, 13, 4, 5, 1, 4, 5],)
|
[10, 10, 13, 4, 5]
|
list(int) -> list(int)
|
tail
|
([11, 12, 14, 1, 2, 15, 9],)
|
[12, 14, 1, 2, 15, 9]
|
list(int) -> list(int)
|
nth (n=0) word delimited by '('
|
('Lango(Desiree',)
|
Lango
|
list(char) -> list(char)
|
parentheses around word delimited by ' ' & '-'
|
(' Reily-Withers,Urbana',)
|
(Reily)-Withers,Urbana
|
list(char) -> list(char)
|
slice-k-n with k=4 and n=1
|
([10, 5, 5, 12, 14, 10, 3, 6, 7, 15, 0],)
|
[12]
|
list(int) -> list(int)
|
Prepend 'Jani'
|
('Ithaca',)
|
JaniIthaca
|
list(char) -> list(char)
|
keep eq 3
|
([3, 0, 5, 0, 6],)
|
[3]
|
list(int) -> list(int)
|
prepend-k with k=2
|
([1, 12],)
|
[2, 1, 12]
|
list(int) -> list(int)
|
parentheses around word delimited by '.' & ','
|
('20.066,TX-Pannell',)
|
20.(066),TX-Pannell
|
list(char) -> list(char)
|
slice-k-n with k=4 and n=3
|
([9, 7, 14, 3, 6, 10, 6, 8, 1],)
|
[3, 6, 10]
|
list(int) -> list(int)
|
nth (n=1) word delimited by ' '
|
('Soderstrom Scalia',)
|
Scalia
|
list(char) -> list(char)
|
drop-k with k=5
|
([13, 11, 10, 7, 13, 11, 9],)
|
[11, 9]
|
list(int) -> list(int)
|
remove-mod-k with k=2
|
([10, 11, 7],)
|
[11, 7]
|
list(int) -> list(int)
|
nth (n=0) word delimited by ' '
|
('Brescia A 56',)
|
Brescia
|
list(char) -> list(char)
|
nth (n=-1) word delimited by ','
|
('144,Honda550,Hopkins',)
|
Hopkins
|
list(char) -> list(char)
|
nth (n=-1) word delimited by ','
|
('144,Honda550,Hopkins',)
|
Hopkins
|
list(char) -> list(char)
|
drop first word delimited by '.'
|
('Angeles.+115.+140',)
|
+115.+140
|
list(char) -> list(char)
|
First letters of words (II)
|
('6 Kimberley 095',)
|
6K0
|
list(char) -> list(char)
|
prepend-k with k=4
|
([11, 11, 5, 7],)
|
[4, 11, 11, 5, 7]
|
list(int) -> list(int)
|
caesar-cipher-k-modulo-n with k=1 and n=4
|
([0],)
|
[1]
|
list(int) -> list(int)
|
slice-k-n with k=3 and n=1
|
([5, 9, 2, 16, 15, 0, 5, 10, 3],)
|
[2]
|
list(int) -> list(int)
|
Prepend '+174'
|
('52',)
|
+17452
|
list(char) -> list(char)
|
Extract word delimited by '(' - '('
|
('Andria(Honda125(+75(Malissa',)
|
Honda125
|
list(char) -> list(char)
|
parentheses around word delimited by ' ' & ' '
|
('Honda250 Melodi +9-Kotas',)
|
Honda250 (Melodi) +9-Kotas
|
list(char) -> list(char)
|
slice-k-n with k=3 and n=5
|
([0, 1, 4, 1, 7, 8, 12, 15, 14, 12, 9, 2, 15, 5],)
|
[4, 1, 7, 8, 12]
|
list(int) -> list(int)
|
Take first character and append ','
|
('Ramthun',)
|
R,
|
list(char) -> list(char)
|
parentheses around a single word (IIII)
|
('+155',)
|
(+155)
|
list(char) -> list(char)
|
First letters of words (I)
|
('Andria Richert 652 Penn',)
|
AR6P
|
list(char) -> list(char)
|
has-k with k=3
|
([3],)
|
True
|
list(int) -> bool
|
Append two words delimited by '.-'
|
('2', 'Kotas')
|
2.-Kotas
|
list(char) -> list(char) -> list(char)
|
nth (n=1) word delimited by ' '
|
('University Sergienko',)
|
Sergienko
|
list(char) -> list(char)
|
Append two words delimited by '(,'
|
('50', '949')
|
50(,949
|
list(char) -> list(char) -> list(char)
|
nth (n=0) word delimited by ')'
|
('E)844',)
|
E
|
list(char) -> list(char)
|
keep eq 3
|
([0, 6, 2, 2, 6],)
|
[]
|
list(int) -> list(int)
|
parentheses around word delimited by '.' & ','
|
('.DPhiladelphia,+132 G',)
|
.(DPhiladelphia),+132 G
|
list(char) -> list(char)
|
Abbreviate separate words (IIII)
|
('413', 'Acura')
|
4.A.
|
list(char) -> list(char) -> list(char)
|
parentheses around a single word (IIIII)
|
('York',)
|
(York)
|
list(char) -> list(char)
|
Take first character and append ' '
|
('Jan',)
|
J
|
list(char) -> list(char)
|
ensure suffix `Ramthun`
|
('107 CollegeRamthun',)
|
107 CollegeRamthun
|
list(char) -> list(char)
|
Append two words delimited by '.-'
|
('Salley', '29')
|
Salley.-29
|
list(char) -> list(char) -> list(char)
|
caesar-cipher-k-modulo-n with k=5 and n=4
|
([0, 0, 0, 0, 2, 2],)
|
[1, 1, 1, 1, 3, 3]
|
list(int) -> list(int)
|
Append 'Angeles'
|
('Celsa',)
|
CelsaAngeles
|
list(char) -> list(char)
|
Abbreviate words separated by ')'
|
('+196)253',)
|
+.2.
|
list(char) -> list(char)
|
take-k with k=1
|
([11, 16],)
|
[11]
|
list(int) -> list(int)
|
Replace '(' w/ ' '
|
('CT(Heintz(Cornell(Phillip',)
|
CT Heintz Cornell Phillip
|
list(char) -> list(char)
|
nth (n=1) word delimited by '-'
|
('+155-Covelli-Constable-405',)
|
Covelli
|
list(char) -> list(char)
|
mult-k with k=2
|
([0, 2, 0],)
|
[0, 4, 0]
|
list(int) -> list(int)
|
nth (n=0) word delimited by '-'
|
('+172-Penn-Chilcott-E',)
|
+172
|
list(char) -> list(char)
|
replace-all-with-index-k with k=1
|
([8, 1, 0, 8, 16, 11, 7],)
|
[8, 8, 8, 8, 8, 8, 8]
|
list(int) -> list(int)
|
Append two words delimited by '. '
|
('62', 'Mackenzie')
|
62. Mackenzie
|
list(char) -> list(char) -> list(char)
|
kth-smallest with k=1
|
([12, 15, 10, 10, 3, 8, 1],)
|
1
|
list(int) -> int
|
has-k with k=0
|
([9, 0, 0, 0],)
|
True
|
list(int) -> bool
|
slice-k-n with k=4 and n=3
|
([8, 15, 12, 16, 13, 5, 6, 2],)
|
[16, 13, 5]
|
list(int) -> list(int)
|
Take first 5 characters
|
('Ducati250',)
|
Ducat
|
list(char) -> list(char)
|
Append 2 strings (IIII)
|
('Marcus', '776')
|
Marcus776
|
list(char) -> list(char) -> list(char)
|
Prepend 'Hornak'
|
('865',)
|
Hornak865
|
list(char) -> list(char)
|
bool-identify-geq-k with k=5
|
([7, 10],)
|
[True, True]
|
list(int) -> list(bool)
|
nth (n=0) word delimited by '.'
|
('505.+46',)
|
505
|
list(char) -> list(char)
|
caesar-cipher-k-modulo-n with k=2 and n=4
|
([2, 0, 2, 1, 3, 2],)
|
[0, 2, 0, 3, 1, 0]
|
list(int) -> list(int)
|
Abbreviate words separated by '('
|
('048(Joaquin',)
|
0.J.
|
list(char) -> list(char)
|
parentheses around a single word (IIII)
|
('986',)
|
(986)
|
list(char) -> list(char)
|
bool-identify-geq-k with k=5
|
([2, 13],)
|
[False, True]
|
list(int) -> list(bool)
|
Abbreviate separate words (I)
|
('Dermody', 'D')
|
D.D.
|
list(char) -> list(char) -> list(char)
|
ensure suffix `Scalia`
|
('Angeles T N',)
|
Angeles T NScalia
|
list(char) -> list(char)
|
prepend-index-k with k=4
|
([0, 2, 8, 7, 6, 14, 0, 0, 12],)
|
[7, 0, 2, 8, 7, 6, 14, 0, 0, 12]
|
list(int) -> list(int)
|
Prepend 'Ghoston' to first word
|
('720 588',)
|
Ghoston720
|
list(char) -> list(char)
|
Abbreviate words separated by '-'
|
('Mackenzie-K',)
|
M.K.
|
list(char) -> list(char)
|
parentheses around first word
|
('TX 33 Pennsylvania',)
|
(TX)
|
list(char) -> list(char)
|
Abbreviate words separated by '.'
|
('T.81',)
|
T.8.
|
list(char) -> list(char)
|
slice-k-n with k=3 and n=5
|
([1, 0, 5, 5, 13, 10, 14, 4, 11],)
|
[5, 5, 13, 10, 14]
|
list(int) -> list(int)
|
mult-k with k=5
|
([8, 15, 9, 0, 1],)
|
[40, 75, 45, 0, 5]
|
list(int) -> list(int)
|
parentheses around a single word (IIII)
|
('+155',)
|
(+155)
|
list(char) -> list(char)
|
Abbreviate separate words (IIIIII)
|
('+81', 'Halpern')
|
+.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.