description
stringlengths 3
46
| input
stringlengths 4
74
| output
stringlengths 1
90
⌀ | types
stringclasses 9
values |
---|---|---|---|
is-mod-k with k=3
|
([36, 27, 45, 21, 18, 45],)
|
True
|
list(int) -> bool
|
bool-identify-geq-k with k=0
|
([0, 5, 6, 15, 0, 13],)
|
[True, True, True, True, True, True]
|
list(int) -> list(bool)
|
sort
|
([11, 8, 14, 7, 8],)
|
[7, 8, 8, 11, 14]
|
list(int) -> list(int)
|
is-mod-k with k=1
|
([13, 14, 7, 1, 0, 11, 0],)
|
True
|
list(int) -> bool
|
parentheses around word delimited by ',' & ','
|
('Bess,994,Montiel',)
|
Bess,(994),Montiel
|
list(char) -> list(char)
|
modulo-k with k=4
|
([0, 10, 4, 11],)
|
[0, 2, 0, 3]
|
list(int) -> list(int)
|
Replace ' ' w/ '('
|
('+9 Rowden Reily',)
|
+9(Rowden(Reily
|
list(char) -> list(char)
|
remove-mod-k with k=4
|
([9, 5, 3, 3, 4, 5],)
|
[9, 5, 3, 3, 5]
|
list(int) -> list(int)
|
parentheses around word delimited by ',' & ','
|
(',548,43',)
|
,(548),43
|
list(char) -> list(char)
|
Abbreviate separate words (I)
|
('Dermody', 'D')
|
D.D.
|
list(char) -> list(char) -> list(char)
|
Drop last 5 characters
|
('Ferrari250',)
|
Ferra
|
list(char) -> list(char)
|
Prepend '+167' to first word
|
('172 Hayley',)
|
+167172
|
list(char) -> list(char)
|
mult-k with k=2
|
([12, 13, 2, 4, 7, 15, 12],)
|
[24, 26, 4, 8, 14, 30, 24]
|
list(int) -> list(int)
|
kth-smallest with k=1
|
([14],)
|
14
|
list(int) -> int
|
len
|
([2, 9],)
|
2
|
list(int) -> int
|
Abbreviate separate words (III)
|
('692', 'Soderstrom')
|
6.S.
|
list(char) -> list(char) -> list(char)
|
Append 2 strings (I)
|
('Georgina', '2')
|
Georgina2
|
list(char) -> list(char) -> list(char)
|
add-k with k=4
|
([9, 10, 10],)
|
[13, 14, 14]
|
list(int) -> list(int)
|
Abbreviate separate words (III)
|
('+189', '856')
|
+.8.
|
list(char) -> list(char) -> list(char)
|
Prepend 'Carlene' to first word
|
('997 CA',)
|
Carlene997
|
list(char) -> list(char)
|
Replace ',' w/ '('
|
('066,+106,Bobo,200',)
|
066(+106(Bobo(200
|
list(char) -> list(char)
|
bool-identify-geq-k with k=5
|
([13],)
|
[True]
|
list(int) -> list(bool)
|
has-k with k=4
|
([4, 4, 4, 4, 4],)
|
True
|
list(int) -> bool
|
is-primes
|
([67, 179, 17, 163, 79],)
|
True
|
list(int) -> bool
|
Append 2 strings (II)
|
('I', 'P')
|
IP
|
list(char) -> list(char) -> list(char)
|
drop first word delimited by '-'
|
('California-+158-Ghoston-82',)
|
+158-Ghoston-82
|
list(char) -> list(char)
|
Append 'Angeles'
|
('469',)
|
469Angeles
|
list(char) -> list(char)
|
Prepend '177' to first word
|
('Alaina +141',)
|
177Alaina
|
list(char) -> list(char)
|
Prepend '086' to first word
|
('Georgina 72',)
|
086Georgina
|
list(char) -> list(char)
|
First letters of words (III)
|
('Lango Babiarz R',)
|
LBR
|
list(char) -> list(char)
|
caesar-cipher-k-modulo-n with k=1 and n=5
|
([0],)
|
[1]
|
list(int) -> list(int)
|
Replace ',' w/ '('
|
('Nancy,334,611,+172',)
|
Nancy(334(611(+172
|
list(char) -> list(char)
|
Abbreviate words separated by '-'
|
('Kathlyn-Beata',)
|
K.B.
|
list(char) -> list(char)
|
repeat-k with k=5
|
([7, 9, 7, 7],)
|
[7, 9, 7, 7, 7, 9, 7, 7, 7, 9, 7, 7, 7, 9, 7, 7, 7, 9, 7, 7]
|
list(int) -> list(int)
|
Take first character and append ' '
|
('Jan',)
|
J
|
list(char) -> list(char)
|
slice-k-n with k=2 and n=5
|
([15, 10, 2, 15, 16, 11, 16, 9, 13, 10, 1, 8, 14, 5],)
|
[10, 2, 15, 16, 11]
|
list(int) -> list(int)
|
remove gt 2
|
([0, 4, 0, 6, 6],)
|
[0, 0]
|
list(int) -> list(int)
|
caesar-cipher-k-modulo-n with k=4 and n=3
|
([0],)
|
[1]
|
list(int) -> list(int)
|
has-k with k=2
|
([11, 9, 16, 9, 7, 2, 6],)
|
True
|
list(int) -> bool
|
Append '636'
|
('C',)
|
C636
|
list(char) -> list(char)
|
Drop last 1 characters
|
('769',)
|
76
|
list(char) -> list(char)
|
drop-k with k=1
|
([16],)
|
[]
|
list(int) -> list(int)
|
append-index-k with k=2
|
([1, 3, 1, 4, 15],)
|
[1, 3, 1, 4, 15, 3]
|
list(int) -> list(int)
|
bool-identify-geq-k with k=4
|
([7, 14, 7, 0],)
|
[True, True, True, False]
|
list(int) -> list(bool)
|
slice-k-n with k=5 and n=3
|
([7, 0, 11, 0, 13, 2, 10, 5, 10, 8],)
|
[13, 2, 10]
|
list(int) -> list(int)
|
tail
|
([13, 2, 2, 13, 4, 3],)
|
[2, 2, 13, 4, 3]
|
list(int) -> list(int)
|
replace-all-with-index-k with k=5
|
([13, 1, 15, 8, 5, 3, 10, 11, 6, 8],)
|
[5, 5, 5, 5, 5, 5, 5, 5, 5, 5]
|
list(int) -> list(int)
|
slice-k-n with k=1 and n=3
|
([12, 7, 10, 10, 1, 11, 12, 10, 0, 3, 14],)
|
[12, 7, 10]
|
list(int) -> list(int)
|
Take first character and append ' '
|
('Brescia',)
|
B
|
list(char) -> list(char)
|
has-k with k=5
|
([],)
|
False
|
list(int) -> bool
|
fibonacci
|
(13,)
|
233
|
int -> int
|
nth (n=0) word delimited by ')'
|
('L)40)591)W',)
|
L
|
list(char) -> list(char)
|
add-k with k=2
|
([9, 11, 7],)
|
[11, 13, 9]
|
list(int) -> list(int)
|
Append two words delimited by ','
|
('2', 'Garrard')
|
2,Garrard
|
list(char) -> list(char) -> list(char)
|
caesar-cipher-k-modulo-n with k=2 and n=5
|
([2, 3, 3],)
|
[4, 0, 0]
|
list(int) -> list(int)
|
parentheses around word delimited by ' ' & '-'
|
(' Reily-Withers,Urbana',)
|
(Reily)-Withers,Urbana
|
list(char) -> list(char)
|
len
|
([15],)
|
1
|
list(int) -> int
|
remove gt 2
|
([1, 5, 4, 4, 0],)
|
[1, 0]
|
list(int) -> list(int)
|
Replace '-' w/ ','
|
('2-FreeHafer-+188',)
|
2,FreeHafer,+188
|
list(char) -> list(char)
|
append-k with k=2
|
([],)
|
[2]
|
list(int) -> list(int)
|
remove-index-k with k=2
|
([12, 4, 1],)
|
[12, 1]
|
list(int) -> list(int)
|
append-index-k with k=4
|
([14, 7, 10, 3, 1, 4],)
|
[14, 7, 10, 3, 1, 4, 3]
|
list(int) -> list(int)
|
bool-identify-k with k=0
|
([0, 0, 0, 14, 9],)
|
[True, True, True, False, False]
|
list(int) -> list(bool)
|
Take first character and append '.'
|
('Marquess',)
|
M.
|
list(char) -> list(char)
|
nth (n=1) word delimited by ' '
|
('29 Ferrari250',)
|
Ferrari250
|
list(char) -> list(char)
|
parentheses around word delimited by ',' & ' '
|
(',551 Cencici 68',)
|
,(551) Cencici 68
|
list(char) -> list(char)
|
Replace '-' w/ ' '
|
('759-Bogle',)
|
759 Bogle
|
list(char) -> list(char)
|
bool-identify-is-mod-k with k=4
|
([14],)
|
[False]
|
list(int) -> list(bool)
|
Take first character and append ')'
|
('DPhiladelphia',)
|
D)
|
list(char) -> list(char)
|
drop first word delimited by '.'
|
('Angeles.+115.+140',)
|
+115.+140
|
list(char) -> list(char)
|
bool-identify-k with k=5
|
([8, 14],)
|
[False, False]
|
list(int) -> list(bool)
|
Take first character and append ' '
|
('Alida',)
|
A
|
list(char) -> list(char)
|
Extract word delimited by '-' - ')'
|
('York-Mackenzie)Jacquiline)L',)
|
Mackenzie
|
list(char) -> list(char)
|
Take first character and append '('
|
('Melodi',)
|
M(
|
list(char) -> list(char)
|
slice-k-n with k=5 and n=1
|
([7, 14, 4, 6, 15, 10, 14, 8],)
|
[15]
|
list(int) -> list(int)
|
Abbreviate separate words (IIII)
|
('+140', 'Partida')
|
+.P.
|
list(char) -> list(char) -> list(char)
|
parentheses around a single word (IIIII)
|
('Halpern',)
|
(Halpern)
|
list(char) -> list(char)
|
parentheses around word delimited by ' ' & ' '
|
('94 Heintz Q',)
|
94 (Heintz) Q
|
list(char) -> list(char)
|
slice-k-n with k=4 and n=5
|
([3, 0, 1, 14, 6, 10, 10, 12, 6, 0, 1, 9, 6, 7],)
|
[14, 6, 10, 10, 12]
|
list(int) -> list(int)
|
Take first 5 characters
|
('Desiree',)
|
Desir
|
list(char) -> list(char)
|
take-k with k=3
|
([1, 10, 10],)
|
[1, 10, 10]
|
list(int) -> list(int)
|
bool-identify-k with k=1
|
([3, 3, 5, 1, 13],)
|
[False, False, False, True, False]
|
list(int) -> list(bool)
|
Append two words delimited by '-'
|
('47', 'NY')
|
47-NY
|
list(char) -> list(char) -> list(char)
|
remove eq 0
|
([2, 6, 1, 4, 6],)
|
[2, 6, 1, 4, 6]
|
list(int) -> list(int)
|
parentheses around word delimited by ' ' & '-'
|
('+151 Annalisa-Phillip-Pennsylvania',)
|
+151 (Annalisa)-Phillip-Pennsylvania
|
list(char) -> list(char)
|
First letters of words (III)
|
('000 Dermody +196',)
|
0D+
|
list(char) -> list(char)
|
append-k with k=1
|
([7],)
|
[7, 1]
|
list(int) -> list(int)
|
caesar-cipher-k-modulo-n with k=3 and n=2
|
([],)
|
[]
|
list(int) -> list(int)
|
First letters of words (II)
|
('6 Kimberley 095',)
|
6K0
|
list(char) -> list(char)
|
drop first word delimited by '-'
|
('Cambridge-+7-+140-29',)
|
+7-+140-29
|
list(char) -> list(char)
|
parentheses around word delimited by ' ' & ' '
|
('94 Heintz Q',)
|
94 (Heintz) Q
|
list(char) -> list(char)
|
bool-identify-geq-k with k=0
|
([10, 15, 5, 16, 9, 7, 9],)
|
[True, True, True, True, True, True, True]
|
list(int) -> list(bool)
|
Extract word delimited by ')' - '-'
|
('Cruz)+188-Maryann)183',)
|
+188
|
list(char) -> list(char)
|
kth-largest with k=2
|
([9, 16, 7, 6, 3],)
|
9
|
list(int) -> int
|
Take first character and append ')'
|
('83',)
|
8)
|
list(char) -> list(char)
|
Prepend 'Hornak'
|
('P',)
|
HornakP
|
list(char) -> list(char)
|
Abbreviate words separated by ')'
|
('Coralee)Rowden',)
|
C.R.
|
list(char) -> list(char)
|
Replace '-' w/ ','
|
('+138-Irwin-46',)
|
+138,Irwin,46
|
list(char) -> list(char)
|
nth (n=1) word delimited by '-'
|
('Launa-Hornak',)
|
Hornak
|
list(char) -> list(char)
|
parentheses around second word
|
('Trinidad 311 33',)
|
(311)
|
list(char) -> list(char)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.