description
stringlengths 3
46
| input
stringlengths 4
74
| output
stringlengths 1
90
⌀ | types
stringclasses 9
values |
---|---|---|---|
Take first 3 characters
|
('Vena',)
|
Ven
|
list(char) -> list(char)
|
Append two words delimited by ' '
|
('Mariel', 'Harvard')
|
Mariel Harvard
|
list(char) -> list(char) -> list(char)
|
bool-identify-is-mod-k with k=3
|
([16],)
|
[False]
|
list(int) -> list(bool)
|
sort
|
([2, 0, 4],)
|
[0, 2, 4]
|
list(int) -> list(int)
|
Prepend 'Carlene' to first word
|
('43 927',)
|
Carlene43
|
list(char) -> list(char)
|
slice-k-n with k=3 and n=2
|
([2, 1, 1, 8, 0, 10],)
|
[1, 8]
|
list(int) -> list(int)
|
fibonacci
|
(2,)
|
1
|
int -> int
|
add-k with k=3
|
([3],)
|
[6]
|
list(int) -> list(int)
|
ensure suffix `Andria`
|
('Madelaine +189Andria',)
|
Madelaine +189Andria
|
list(char) -> list(char)
|
kth-largest with k=5
|
([16, 7, 3, 14, 4, 9, 1, 13, 4, 8, 6],)
|
8
|
list(int) -> int
|
keep gt 3
|
([4, 3, 0, 3, 3],)
|
[4]
|
list(int) -> list(int)
|
Append two words delimited by ' -'
|
('779', 'Withers')
|
779 -Withers
|
list(char) -> list(char) -> list(char)
|
Prepend '177' to first word
|
('Jacqualine +180',)
|
177Jacqualine
|
list(char) -> list(char)
|
Drop last 2 characters
|
('Nancy',)
|
Nan
|
list(char) -> list(char)
|
Append '636'
|
('FreeHafer',)
|
FreeHafer636
|
list(char) -> list(char)
|
Append two words delimited by '('
|
('204', 'Elias')
|
204(Elias
|
list(char) -> list(char) -> list(char)
|
has-k with k=1
|
([1],)
|
True
|
list(int) -> bool
|
Prepend '177' to first word
|
('Alaina +141',)
|
177Alaina
|
list(char) -> list(char)
|
First letters of words (IIIII)
|
('Dr UC K Rowden',)
|
DUKR
|
list(char) -> list(char)
|
kth-largest with k=2
|
([14, 1],)
|
1
|
list(int) -> int
|
Prepend '170' to first word
|
('Drexel Maryann',)
|
170Drexel
|
list(char) -> list(char)
|
Abbreviate words separated by '-'
|
('Mackenzie-K',)
|
M.K.
|
list(char) -> list(char)
|
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)
|
Append two words delimited by '.'
|
('632', '836')
|
632.836
|
list(char) -> list(char) -> list(char)
|
parentheses around a single word (III)
|
('NY',)
|
(NY)
|
list(char) -> list(char)
|
remove eq 3
|
([2, 3, 1, 4, 1],)
|
[2, 1, 4, 1]
|
list(int) -> list(int)
|
First letters of words (IIIIII)
|
('+155 174 Dr Haven',)
|
+1DH
|
list(char) -> list(char)
|
nth (n=0) word delimited by ')'
|
('Lara)+176',)
|
Lara
|
list(char) -> list(char)
|
Append 2 strings (II)
|
('Spell', 'Los')
|
SpellLos
|
list(char) -> list(char) -> list(char)
|
Append 2 strings (IIII)
|
('426', '369')
|
426369
|
list(char) -> list(char) -> list(char)
|
Abbreviate separate words (II)
|
('Gertude', 'Dermody')
|
G.D.
|
list(char) -> list(char) -> list(char)
|
Replace ',' w/ '('
|
('Nancy,334,611,+172',)
|
Nancy(334(611(+172
|
list(char) -> list(char)
|
parentheses around word delimited by '.' & ','
|
('476.47,017',)
|
476.(47),017
|
list(char) -> list(char)
|
slice-k-n with k=1 and n=3
|
([5, 15, 11, 2, 8, 15, 4, 11, 1, 16, 10, 13],)
|
[5, 15, 11]
|
list(int) -> list(int)
|
prepend-index-k with k=1
|
([0, 0, 8, 12],)
|
[0, 0, 0, 8, 12]
|
list(int) -> list(int)
|
drop-k with k=3
|
([1, 5, 8, 16, 15, 10, 14, 11],)
|
[16, 15, 10, 14, 11]
|
list(int) -> list(int)
|
caesar-cipher-k-modulo-n with k=1 and n=3
|
([0],)
|
[1]
|
list(int) -> list(int)
|
ensure suffix `Ramthun`
|
('Annalisa Latimore ChismRamthun',)
|
Annalisa Latimore ChismRamthun
|
list(char) -> list(char)
|
append-index-k with k=5
|
([11, 9, 16, 5, 5, 16, 11, 9],)
|
[11, 9, 16, 5, 5, 16, 11, 9, 5]
|
list(int) -> list(int)
|
Abbreviate separate words (I)
|
('62', 'Ramthun')
|
6.R.
|
list(char) -> list(char) -> list(char)
|
drop first word delimited by '-'
|
('Cambridge-+7-+140-29',)
|
+7-+140-29
|
list(char) -> list(char)
|
rotate-k with k=2
|
([8, 9, 7, 10, 8, 8, 6, 12],)
|
[6, 12, 8, 9, 7, 10, 8, 8]
|
list(int) -> list(int)
|
kth-largest with k=1
|
([2, 15, 14, 6, 4, 5, 5],)
|
15
|
list(int) -> int
|
index-k with k=5
|
([15, 8, 9, 0, 11, 12, 9, 15],)
|
11
|
list(int) -> int
|
odds
|
([5],)
|
[5]
|
list(int) -> list(int)
|
Drop last 1 characters
|
('Latimore',)
|
Latimor
|
list(char) -> list(char)
|
append-index-k with k=2
|
([4, 6, 10, 13],)
|
[4, 6, 10, 13, 6]
|
list(int) -> list(int)
|
Append two words delimited by ','
|
('2', 'Garrard')
|
2,Garrard
|
list(char) -> list(char) -> list(char)
|
prepend-index-k with k=1
|
([3, 8, 6, 6, 11],)
|
[3, 3, 8, 6, 6, 11]
|
list(int) -> list(int)
|
append-k with k=4
|
([10, 15, 13, 8, 14, 10],)
|
[10, 15, 13, 8, 14, 10, 4]
|
list(int) -> list(int)
|
prepend-k with k=0
|
([],)
|
[0]
|
list(int) -> list(int)
|
take-k with k=4
|
([14, 15, 3, 1, 3, 1, 8, 2, 1, 8],)
|
[14, 15, 3, 1]
|
list(int) -> list(int)
|
Append two words delimited by ')'
|
('Park', 'Hopkins')
|
Park)Hopkins
|
list(char) -> list(char) -> list(char)
|
min
|
([3, 6, 7, 6, 8],)
|
3
|
list(int) -> int
|
Abbreviate words separated by ','
|
('Trinidad,58',)
|
T.5.
|
list(char) -> list(char)
|
drop-k with k=3
|
([13, 0, 5, 14, 1, 12, 1, 12, 5, 4],)
|
[14, 1, 12, 1, 12, 5, 4]
|
list(int) -> list(int)
|
Append two words delimited by ','
|
('2', 'Garrard')
|
2,Garrard
|
list(char) -> list(char) -> list(char)
|
remove-index-k with k=4
|
([2, 1, 12, 15],)
|
[2, 1, 12]
|
list(int) -> list(int)
|
Take first 5 characters
|
('Gregori',)
|
Grego
|
list(char) -> list(char)
|
Take first character and append '('
|
('020',)
|
0(
|
list(char) -> list(char)
|
count-k with k=1
|
([1, 16, 1],)
|
2
|
list(int) -> int
|
keep eq 0
|
([2, 6, 3, 4, 3],)
|
[]
|
list(int) -> list(int)
|
len
|
([7, 14, 11],)
|
3
|
list(int) -> int
|
Prepend '+167' to first word
|
('+169 29',)
|
+167+169
|
list(char) -> list(char)
|
is-odds
|
([4, 1, 12, 0, 9],)
|
False
|
list(int) -> bool
|
replace-all-with-index-k with k=2
|
([12, 15],)
|
[15, 15]
|
list(int) -> list(int)
|
Append two words delimited by ' '
|
('35', 'Rowden')
|
35 Rowden
|
list(char) -> list(char) -> list(char)
|
is-squares
|
([2],)
|
False
|
list(int) -> bool
|
Abbreviate separate words (IIII)
|
('S', 'Beata')
|
S.B.
|
list(char) -> list(char) -> list(char)
|
parentheses around word delimited by ' ' & '-'
|
(' Barbara-Mackenzie',)
|
(Barbara)-Mackenzie
|
list(char) -> list(char)
|
Abbreviate separate words (IIIII)
|
('50', 'PA')
|
5.P.
|
list(char) -> list(char) -> list(char)
|
Append 2 strings (IIII)
|
('141', '636')
|
141636
|
list(char) -> list(char) -> list(char)
|
remove eq 1
|
([2, 0, 1, 6, 6],)
|
[2, 0, 6, 6]
|
list(int) -> list(int)
|
max
|
([1, 2, 3],)
|
3
|
list(int) -> int
|
odds
|
([3, 0],)
|
[3]
|
list(int) -> list(int)
|
parentheses around word delimited by ',' & ','
|
('+174,Bradford,University',)
|
+174,(Bradford),University
|
list(char) -> list(char)
|
add-k with k=5
|
([3, 14, 15, 0, 12, 0],)
|
[8, 19, 20, 5, 17, 5]
|
list(int) -> list(int)
|
nth (n=-1) word delimited by '.'
|
('197.58',)
|
58
|
list(char) -> list(char)
|
Extract word delimited by ',' - ','
|
('+75,FreeHafer,861,Babiarz',)
|
FreeHafer
|
list(char) -> list(char)
|
has-k with k=4
|
([4, 4, 13],)
|
True
|
list(int) -> bool
|
parentheses around word delimited by ' ' & '-'
|
(' Barbara-Mackenzie',)
|
(Barbara)-Mackenzie
|
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)
|
Append 'Cornell'
|
('Akiyama',)
|
AkiyamaCornell
|
list(char) -> list(char)
|
Take first 5 characters
|
('Carlene',)
|
Carle
|
list(char) -> list(char)
|
caesar-cipher-k-modulo-n with k=3 and n=5
|
([2],)
|
[0]
|
list(int) -> list(int)
|
drop first word delimited by ','
|
('Nancy,Beata,512,864',)
|
Beata,512,864
|
list(char) -> list(char)
|
First letters of words (III)
|
('+5 Urbana',)
|
+U
|
list(char) -> list(char)
|
Append '+138'
|
('512',)
|
512+138
|
list(char) -> list(char)
|
drop-k with k=5
|
([9, 15, 0, 1, 8, 6, 2, 11, 4, 11],)
|
[6, 2, 11, 4, 11]
|
list(int) -> list(int)
|
is-mod-k with k=4
|
([7, 4, 11],)
|
False
|
list(int) -> bool
|
Append two words delimited by '..'
|
('568', 'Teddy')
|
568..Teddy
|
list(char) -> list(char) -> list(char)
|
slice-k-n with k=4 and n=3
|
([1, 9, 0, 13, 8, 10, 14, 8, 15, 10, 10, 6, 14],)
|
[13, 8, 10]
|
list(int) -> list(int)
|
Take first character and append '.'
|
('+46',)
|
+.
|
list(char) -> list(char)
|
First letters of words (III)
|
('+5 Urbana',)
|
+U
|
list(char) -> list(char)
|
parentheses around a single word (II)
|
('426',)
|
(426)
|
list(char) -> list(char)
|
parentheses around word delimited by ',' & ' '
|
('29,10 Stefany +158',)
|
29,(10) Stefany +158
|
list(char) -> list(char)
|
nth (n=1) word delimited by '-'
|
('Launa-Hornak',)
|
Hornak
|
list(char) -> list(char)
|
bool-identify-is-mod-k with k=1
|
([],)
|
[]
|
list(int) -> list(bool)
|
slice-k-n with k=5 and n=1
|
([7, 8, 9, 14, 16, 4, 5, 9, 9, 3, 9, 14, 10, 0],)
|
[16]
|
list(int) -> list(int)
|
Take first 3 characters
|
('766',)
|
766
|
list(char) -> list(char)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.