description
stringlengths 3
46
| input
stringlengths 4
74
| output
stringlengths 1
90
⌀ | types
stringclasses 9
values |
---|---|---|---|
caesar-cipher-k-modulo-n with k=2 and n=3
|
([],)
|
[]
|
list(int) -> list(int)
|
repeat-k with k=3
|
([6, 11],)
|
[6, 11, 6, 11, 6, 11]
|
list(int) -> list(int)
|
parentheses around word delimited by '-' & '.'
|
('Lain-Edison.C-Temple',)
|
Lain-(Edison).C-Temple
|
list(char) -> list(char)
|
count-head-in-tail
|
([1, 1, 2],)
|
1
|
list(int) -> int
|
slice-k-n with k=5 and n=4
|
([11, 13, 13, 3, 4, 15, 1, 7, 10, 13, 7],)
|
[4, 15, 1, 7]
|
list(int) -> list(int)
|
bool-identify-is-prime
|
([10, 8, 4, 7],)
|
[False, False, False, True]
|
list(int) -> list(bool)
|
Take first character and append ')'
|
('414',)
|
4)
|
list(char) -> list(char)
|
Extract word delimited by ',' - '.'
|
('86,+161.13,+7',)
|
+161
|
list(char) -> list(char)
|
slice-k-n with k=1 and n=2
|
([4, 10, 5, 4, 8, 8, 1, 7, 10, 15, 8],)
|
[4, 10]
|
list(int) -> list(int)
|
parentheses around a single word (IIII)
|
('Harvard',)
|
(Harvard)
|
list(char) -> list(char)
|
Append two words delimited by '-'
|
('119', 'Harvard')
|
119-Harvard
|
list(char) -> list(char) -> list(char)
|
Take first 2 characters
|
('Stefany',)
|
St
|
list(char) -> list(char)
|
slice-k-n with k=1 and n=2
|
([6, 2, 13, 8],)
|
[6, 2]
|
list(int) -> list(int)
|
Abbreviate words separated by '('
|
('G(Partida',)
|
G.P.
|
list(char) -> list(char)
|
nth (n=1) word delimited by '.'
|
('Ducati125.of.588.843',)
|
of
|
list(char) -> list(char)
|
Append two words delimited by '.-'
|
('Mackenzie', '163')
|
Mackenzie.-163
|
list(char) -> list(char) -> list(char)
|
rotate-k with k=3
|
([12, 16, 4, 8, 4, 0, 0, 16, 14, 7, 13, 4],)
|
[7, 13, 4, 12, 16, 4, 8, 4, 0, 0, 16, 14]
|
list(int) -> list(int)
|
Drop last 2 characters
|
('Stefany',)
|
Stefa
|
list(char) -> list(char)
|
caesar-cipher-k-modulo-n with k=3 and n=2
|
([],)
|
[]
|
list(int) -> list(int)
|
remove gt 3
|
([6, 1, 4, 2, 0],)
|
[1, 2, 0]
|
list(int) -> list(int)
|
kth-smallest with k=1
|
([10],)
|
10
|
list(int) -> int
|
count-k with k=0
|
([0, 0, 0, 14, 9],)
|
3
|
list(int) -> int
|
Append '636'
|
('FreeHafer',)
|
FreeHafer636
|
list(char) -> list(char)
|
nth (n=0) word delimited by ','
|
('MA,B,+95',)
|
MA
|
list(char) -> list(char)
|
len
|
([1, 1, 2, 1],)
|
4
|
list(int) -> int
|
Extract word delimited by ',' - ','
|
('7,Soderstrom,S,A',)
|
Soderstrom
|
list(char) -> list(char)
|
head
|
([9, 7, 8, 1, 9, 14, 16],)
|
9
|
list(int) -> int
|
count-k with k=2
|
([2, 15],)
|
1
|
list(int) -> int
|
modulo-k with k=2
|
([9],)
|
[1]
|
list(int) -> list(int)
|
First letters of words (II)
|
('438 20 MA FreeHafer',)
|
42MF
|
list(char) -> list(char)
|
take-k with k=4
|
([1, 11, 15, 7, 12],)
|
[1, 11, 15, 7]
|
list(int) -> list(int)
|
Abbreviate separate words (IIII)
|
('S', 'Beata')
|
S.B.
|
list(char) -> list(char) -> list(char)
|
Extract word delimited by '(' - '('
|
('Montiel(Temple(Heintz(Teddy',)
|
Temple
|
list(char) -> list(char)
|
Replace '.' w/ ')'
|
('622.270',)
|
622)270
|
list(char) -> list(char)
|
parentheses around first word
|
('018 +176 Houston',)
|
(018)
|
list(char) -> list(char)
|
remove-mod-k with k=5
|
([14, 16, 10, 9, 6],)
|
[14, 16, 9, 6]
|
list(int) -> list(int)
|
rotate-k with k=3
|
([4, 10, 7, 5, 7, 1, 2, 14, 10, 13],)
|
[14, 10, 13, 4, 10, 7, 5, 7, 1, 2]
|
list(int) -> list(int)
|
ensure suffix `997`
|
('Quashie Miah',)
|
Quashie Miah997
|
list(char) -> list(char)
|
Prepend '+174'
|
('Jurgens',)
|
+174Jurgens
|
list(char) -> list(char)
|
Take first character and append '('
|
('Melodi',)
|
M(
|
list(char) -> list(char)
|
has-head-in-tail
|
([1, 1, 2],)
|
True
|
list(int) -> bool
|
bool-identify-is-mod-k with k=2
|
([2, 0, 7],)
|
[True, True, False]
|
list(int) -> list(bool)
|
kth-smallest with k=4
|
([3, 3, 16, 6, 16, 4],)
|
6
|
list(int) -> int
|
caesar-cipher-k-modulo-n with k=3 and n=2
|
([1, 1, 1, 1, 0],)
|
[0, 0, 0, 0, 1]
|
list(int) -> list(int)
|
remove gt 0
|
([5, 3, 0, 6, 5],)
|
[0]
|
list(int) -> list(int)
|
Prepend 'Hornak'
|
('Mackenzie',)
|
HornakMackenzie
|
list(char) -> list(char)
|
First letters of words (IIII)
|
('Ducati250 Lashanda N Barbara',)
|
DLNB
|
list(char) -> list(char)
|
bool-identify-geq-k with k=0
|
([],)
|
[]
|
list(int) -> list(bool)
|
parentheses around first word
|
('415 +115 484',)
|
(415)
|
list(char) -> list(char)
|
parentheses around second word
|
('California 86',)
|
(86)
|
list(char) -> list(char)
|
pow-k with k=5
|
([14, 15],)
|
[537824, 759375]
|
list(int) -> list(int)
|
Abbreviate separate words (III)
|
('038', 'Hornak')
|
0.H.
|
list(char) -> list(char) -> list(char)
|
Append two words delimited by '('
|
('Q', 'Ducati250')
|
Q(Ducati250
|
list(char) -> list(char) -> list(char)
|
parentheses around word delimited by ' ' & '-'
|
(' Reily-Withers,Urbana',)
|
(Reily)-Withers,Urbana
|
list(char) -> list(char)
|
remove-index-k with k=4
|
([4, 0, 6, 0],)
|
[4, 0, 6]
|
list(int) -> list(int)
|
nth (n=-1) word delimited by ')'
|
('+42)+98)+115)Junkin',)
|
Junkin
|
list(char) -> list(char)
|
caesar-cipher-k-modulo-n with k=5 and n=4
|
([0, 0],)
|
[1, 1]
|
list(int) -> list(int)
|
pop
|
([6, 8, 1, 3, 0],)
|
[6, 8, 1, 3]
|
list(int) -> list(int)
|
nth (n=0) word delimited by '('
|
('Lango(Desiree',)
|
Lango
|
list(char) -> list(char)
|
replace-all-with-index-k with k=5
|
([9, 13, 7, 14, 0, 3, 12],)
|
[0, 0, 0, 0, 0, 0, 0]
|
list(int) -> list(int)
|
has-k with k=0
|
([],)
|
False
|
list(int) -> bool
|
Append two words delimited by ','
|
('Pennsylvania', '+198')
|
Pennsylvania,+198
|
list(char) -> list(char) -> list(char)
|
parentheses around word delimited by '-' & '.'
|
('9-Ducati125.976.Alida',)
|
9-(Ducati125).976.Alida
|
list(char) -> list(char)
|
modulo-k with k=5
|
([13],)
|
[3]
|
list(int) -> list(int)
|
slice-k-n with k=3 and n=5
|
([3, 15, 15, 7, 15, 7, 11, 15, 14, 5, 4, 7, 10, 6, 4, 2],)
|
[15, 7, 15, 7, 11]
|
list(int) -> list(int)
|
pop
|
([0],)
|
[]
|
list(int) -> list(int)
|
kth-smallest with k=3
|
([15, 4, 8, 5],)
|
8
|
list(int) -> int
|
is-odds
|
([2, 0, 4],)
|
False
|
list(int) -> bool
|
nth (n=-1) word delimited by '.'
|
('197.58',)
|
58
|
list(char) -> list(char)
|
remove gt 0
|
([0, 6, 1, 5, 4],)
|
[0]
|
list(int) -> list(int)
|
Take first character and append ','
|
('546',)
|
5,
|
list(char) -> list(char)
|
Abbreviate separate words (IIII)
|
('413', 'Acura')
|
4.A.
|
list(char) -> list(char) -> list(char)
|
Append 'Angeles'
|
('469',)
|
469Angeles
|
list(char) -> list(char)
|
slice-k-n with k=3 and n=1
|
([3, 6, 16, 2, 7, 8, 16],)
|
[16]
|
list(int) -> list(int)
|
Abbreviate words separated by ' '
|
('038 Cruz',)
|
0.C.
|
list(char) -> list(char)
|
Take first character and append '-'
|
('751',)
|
7-
|
list(char) -> list(char)
|
Extract word delimited by ')' - ','
|
('Cambridge)Storrs,449)10',)
|
Storrs
|
list(char) -> list(char)
|
replace-all-with-index-k with k=2
|
([1, 3, 5, 7, 5, 3, 3],)
|
[3, 3, 3, 3, 3, 3, 3]
|
list(int) -> list(int)
|
Extract word delimited by ',' - ','
|
('+75,FreeHafer,861,Babiarz',)
|
FreeHafer
|
list(char) -> list(char)
|
Abbreviate words separated by ','
|
('Trinidad,58',)
|
T.5.
|
list(char) -> list(char)
|
Append two words delimited by '.'
|
('Bradford', 'Beata')
|
Bradford.Beata
|
list(char) -> list(char) -> list(char)
|
append-k with k=4
|
([14, 14, 2, 9, 2],)
|
[14, 14, 2, 9, 2, 4]
|
list(int) -> list(int)
|
bool-identify-is-mod-k with k=3
|
([1, 6],)
|
[False, True]
|
list(int) -> list(bool)
|
slice-k-n with k=5 and n=3
|
([8, 12, 8, 14, 9, 16, 6, 3, 2, 0, 10, 14, 11, 10],)
|
[9, 16, 6]
|
list(int) -> list(int)
|
prepend-index-k with k=1
|
([1, 3, 13, 12, 5, 8],)
|
[1, 1, 3, 13, 12, 5, 8]
|
list(int) -> list(int)
|
First letters of words (III)
|
('+5 Urbana',)
|
+U
|
list(char) -> list(char)
|
bool-identify-k with k=0
|
([10, 15],)
|
[False, False]
|
list(int) -> list(bool)
|
Append 2 strings (I)
|
('Phialdelphia', '40')
|
Phialdelphia40
|
list(char) -> list(char) -> list(char)
|
Append two words delimited by '. '
|
('Haven', '575')
|
Haven. 575
|
list(char) -> list(char) -> list(char)
|
remove-mod-k with k=4
|
([4, 14, 15, 1],)
|
[14, 15, 1]
|
list(int) -> list(int)
|
remove gt 0
|
([6, 2, 0, 6, 3],)
|
[0]
|
list(int) -> list(int)
|
parentheses around a single word (III)
|
('NY',)
|
(NY)
|
list(char) -> list(char)
|
pow-k with k=3
|
([1, 16, 6, 4, 6, 12],)
|
[1, 4096, 216, 64, 216, 1728]
|
list(int) -> list(int)
|
mult-k with k=0
|
([15, 5],)
|
[0, 0]
|
list(int) -> list(int)
|
modulo-k with k=5
|
([2, 6, 12],)
|
[2, 1, 2]
|
list(int) -> list(int)
|
nth (n=1) word delimited by ' '
|
('+132 Annalisa Mcgaughey Ferrari',)
|
Annalisa
|
list(char) -> list(char)
|
bool-identify-is-mod-k with k=1
|
([6, 8, 6, 14, 11, 4, 15],)
|
[True, True, True, True, True, True, True]
|
list(int) -> list(bool)
|
product
|
([1, 2, 3],)
|
6
|
list(int) -> int
|
caesar-cipher-k-modulo-n with k=5 and n=2
|
([1],)
|
[0]
|
list(int) -> list(int)
|
drop first word delimited by ')'
|
('Mariel)+195',)
|
+195
|
list(char) -> list(char)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.