description
stringlengths 3
46
| input
stringlengths 4
74
| output
stringlengths 1
90
⌀ | types
stringclasses 9
values |
---|---|---|---|
remove gt 3
|
([1, 6, 0, 2, 2],)
|
[1, 0, 2, 2]
|
list(int) -> list(int)
|
remove eq 1
|
([2, 5, 1, 5, 4],)
|
[2, 5, 5, 4]
|
list(int) -> list(int)
|
remove gt 2
|
([4, 3, 3, 0, 0],)
|
[0, 0]
|
list(int) -> list(int)
|
is-odds
|
([1, 7, 3],)
|
True
|
list(int) -> bool
|
Drop last 5 characters
|
('Heintz',)
|
H
|
list(char) -> list(char)
|
add-k with k=2
|
([16, 13, 6, 8, 14, 8, 2],)
|
[18, 15, 8, 10, 16, 10, 4]
|
list(int) -> list(int)
|
Replace '-' w/ ' '
|
('+183-13',)
|
+183 13
|
list(char) -> list(char)
|
Abbreviate words separated by ')'
|
('83)56',)
|
8.5.
|
list(char) -> list(char)
|
Take first character and append '-'
|
('Scalia',)
|
S-
|
list(char) -> list(char)
|
Extract word delimited by ')' - '-'
|
('Cruz)+188-Maryann)183',)
|
+188
|
list(char) -> list(char)
|
has-k with k=3
|
([3, 3, 3, 3],)
|
True
|
list(int) -> bool
|
nth (n=0) word delimited by '-'
|
('Jeff-Lara-Karrie',)
|
Jeff
|
list(char) -> list(char)
|
remove-mod-k with k=3
|
([10, 5, 6],)
|
[10, 5]
|
list(int) -> list(int)
|
Extract word delimited by '(' - '('
|
('Andria(Honda125(+75(Malissa',)
|
Honda125
|
list(char) -> list(char)
|
+1 maximum list
|
([2, 7, 2],)
|
8
|
list(int) -> int
|
repeat-k with k=5
|
([6, 10, 14, 2],)
|
[6, 10, 14, 2, 6, 10, 14, 2, 6, 10, 14, 2, 6, 10, 14, 2, 6, 10, 14, 2]
|
list(int) -> list(int)
|
Replace '(' w/ '.'
|
('Spagnoli(7(Seamons',)
|
Spagnoli.7.Seamons
|
list(char) -> list(char)
|
Prepend '170' to first word
|
('Malissa W',)
|
170Malissa
|
list(char) -> list(char)
|
parentheses around word delimited by ' ' & '-'
|
(' Barbara-Mackenzie',)
|
(Barbara)-Mackenzie
|
list(char) -> list(char)
|
slice-k-n with k=3 and n=3
|
([16, 16, 12, 7, 5, 4, 15, 1, 11, 1],)
|
[12, 7, 5]
|
list(int) -> list(int)
|
Append 2 strings (IIIIII)
|
('+199', '919')
|
+199919
|
list(char) -> list(char) -> list(char)
|
Append 'Beata'
|
('S',)
|
SBeata
|
list(char) -> list(char)
|
drop first word delimited by '('
|
('Barbara(Temple(Samuel',)
|
Temple(Samuel
|
list(char) -> list(char)
|
ensure suffix `Andria`
|
('+68 +161 Heintz York',)
|
+68 +161 Heintz YorkAndria
|
list(char) -> list(char)
|
Abbreviate separate words (III)
|
('038', 'Hornak')
|
0.H.
|
list(char) -> list(char) -> list(char)
|
Take first 3 characters
|
('Vena',)
|
Ven
|
list(char) -> list(char)
|
Append two words delimited by ' '
|
('051', '+174')
|
051 +174
|
list(char) -> list(char) -> list(char)
|
Append two words delimited by '-'
|
('Constable', '+197')
|
Constable-+197
|
list(char) -> list(char) -> list(char)
|
is-primes
|
([5, 11],)
|
True
|
list(int) -> bool
|
Abbreviate separate words (I)
|
('Irwin', 'Spell')
|
I.S.
|
list(char) -> list(char) -> list(char)
|
index-k with k=1
|
([6, 4, 6, 12, 0, 8, 1, 16],)
|
6
|
list(int) -> int
|
keep gt 0
|
([0, 0, 5, 1, 1],)
|
[5, 1, 1]
|
list(int) -> list(int)
|
has-k with k=2
|
([],)
|
False
|
list(int) -> bool
|
Drop last 1 characters
|
('+130',)
|
+13
|
list(char) -> list(char)
|
add-k with k=1
|
([0, 2, 12, 2, 11, 0],)
|
[1, 3, 13, 3, 12, 1]
|
list(int) -> list(int)
|
modulo-k with k=2
|
([],)
|
[]
|
list(int) -> list(int)
|
Extract word delimited by ',' - '.'
|
('86,+161.13,+7',)
|
+161
|
list(char) -> list(char)
|
nth (n=-1) word delimited by ')'
|
('539)027)42',)
|
42
|
list(char) -> list(char)
|
parentheses around word delimited by ' ' & '-'
|
(' Barbara-Mackenzie',)
|
(Barbara)-Mackenzie
|
list(char) -> list(char)
|
head
|
([9, 3],)
|
9
|
list(int) -> int
|
nth (n=1) word delimited by ','
|
('473,Phialdelphia',)
|
Phialdelphia
|
list(char) -> list(char)
|
is-mod-k with k=3
|
([8, 8],)
|
False
|
list(int) -> bool
|
First letters of words (IIIII)
|
('Honda550 +180 Q',)
|
H+Q
|
list(char) -> list(char)
|
Replace '.' w/ ')'
|
('622.270',)
|
622)270
|
list(char) -> list(char)
|
index-k with k=4
|
([1, 11, 0, 11],)
|
11
|
list(int) -> int
|
ensure suffix `Ramthun`
|
('Ghoston Bobo Scalia Chism',)
|
Ghoston Bobo Scalia ChismRamthun
|
list(char) -> list(char)
|
bool-identify-k with k=2
|
([2, 2, 2, 2, 2, 2, 2],)
|
[True, True, True, True, True, True, True]
|
list(int) -> list(bool)
|
Append two words delimited by '..'
|
('Vena', '50')
|
Vena..50
|
list(char) -> list(char) -> list(char)
|
ensure suffix `Scalia`
|
('UIUC 526',)
|
UIUC 526Scalia
|
list(char) -> list(char)
|
nth (n=1) word delimited by ' '
|
('University Sergienko',)
|
Sergienko
|
list(char) -> list(char)
|
Abbreviate separate words (IIII)
|
('+140', 'Partida')
|
+.P.
|
list(char) -> list(char) -> list(char)
|
append-k with k=2
|
([5],)
|
[5, 2]
|
list(int) -> list(int)
|
caesar-cipher-k-modulo-n with k=5 and n=4
|
([1, 0, 1, 2, 1, 2],)
|
[2, 1, 2, 3, 2, 3]
|
list(int) -> list(int)
|
sum
|
([1, 1, 2, 1],)
|
5
|
list(int) -> int
|
drop first word delimited by ' '
|
('141 Lashanda',)
|
Lashanda
|
list(char) -> list(char)
|
append-k with k=2
|
([],)
|
[2]
|
list(int) -> list(int)
|
Append 2 strings (IIII)
|
('Marcus', '776')
|
Marcus776
|
list(char) -> list(char) -> list(char)
|
First letters of words (IIIIII)
|
('21 B',)
|
2B
|
list(char) -> list(char)
|
Append two words delimited by '-'
|
('47', 'NY')
|
47-NY
|
list(char) -> list(char) -> list(char)
|
Replace ',' w/ '.'
|
('Ducati,+147',)
|
Ducati.+147
|
list(char) -> list(char)
|
reverse
|
([8, 6, 9],)
|
[9, 6, 8]
|
list(int) -> list(int)
|
ensure suffix `568`
|
('+47 P568',)
|
+47 P568
|
list(char) -> list(char)
|
drop first word delimited by '.'
|
('598.849.854.Kimberley',)
|
849.854.Kimberley
|
list(char) -> list(char)
|
pow-k with k=4
|
([6, 8, 1, 3],)
|
[1296, 4096, 1, 81]
|
list(int) -> list(int)
|
Prepend 'Ghoston' to first word
|
('125 +118',)
|
Ghoston125
|
list(char) -> list(char)
|
Abbreviate words separated by '.'
|
('817.33',)
|
8.3.
|
list(char) -> list(char)
|
nth (n=-1) word delimited by ' '
|
('K 358 Jacquiline Columbia',)
|
Columbia
|
list(char) -> list(char)
|
Prepend '+167' to first word
|
('172 Hayley',)
|
+167172
|
list(char) -> list(char)
|
keep-mod-k with k=4
|
([4, 2],)
|
[4]
|
list(int) -> list(int)
|
+1 maximum list
|
([8, 7, 5, 9, 7],)
|
10
|
list(int) -> int
|
count-k with k=2
|
([8],)
|
0
|
list(int) -> int
|
kth-smallest with k=4
|
([1, 5, 15, 15, 2, 10, 13, 15, 3],)
|
5
|
list(int) -> int
|
sum
|
([3, 5, 7, 4, 4, 6],)
|
29
|
list(int) -> int
|
Append two words delimited by '.-'
|
('2', 'Kotas')
|
2.-Kotas
|
list(char) -> list(char) -> list(char)
|
count-k with k=2
|
([2, 2, 2, 2, 2, 2, 2],)
|
7
|
list(int) -> int
|
Append 2 strings (IIIII)
|
('Madelaine', '29')
|
Madelaine29
|
list(char) -> list(char) -> list(char)
|
prepend-index-k with k=5
|
([3, 3, 7, 11, 3, 7, 2, 10, 7, 15],)
|
[3, 3, 3, 7, 11, 3, 7, 2, 10, 7, 15]
|
list(int) -> list(int)
|
add-k with k=3
|
([7, 14, 1],)
|
[10, 17, 4]
|
list(int) -> list(int)
|
Take first 5 characters
|
('Ducati250',)
|
Ducat
|
list(char) -> list(char)
|
Replace '(' w/ '.'
|
('Spagnoli(7(Seamons',)
|
Spagnoli.7.Seamons
|
list(char) -> list(char)
|
remove eq 1
|
([3, 0, 2, 3, 0],)
|
[3, 0, 2, 3, 0]
|
list(int) -> list(int)
|
slice-k-n with k=1 and n=4
|
([8, 10, 14, 0, 14, 0, 16],)
|
[8, 10, 14, 0]
|
list(int) -> list(int)
|
Prepend 'Ghoston' to first word
|
('Samuel Hage',)
|
GhostonSamuel
|
list(char) -> list(char)
|
tail
|
([2, 3, 6, 7],)
|
[3, 6, 7]
|
list(int) -> list(int)
|
rotate-k with k=3
|
([6, 7, 6, 12, 4, 8, 16, 4, 8, 15, 5, 8, 12, 7, 9],)
|
[12, 7, 9, 6, 7, 6, 12, 4, 8, 16, 4, 8, 15, 5, 8]
|
list(int) -> list(int)
|
bool-identify-geq-k with k=4
|
([],)
|
[]
|
list(int) -> list(bool)
|
Append 2 strings (III)
|
('25', '176')
|
25176
|
list(char) -> list(char) -> list(char)
|
Replace '.' w/ ')'
|
('Lakenya.876.18.064',)
|
Lakenya)876)18)064
|
list(char) -> list(char)
|
rotate-k with k=4
|
([16, 0, 11, 7, 9, 2, 5, 11],)
|
[9, 2, 5, 11, 16, 0, 11, 7]
|
list(int) -> list(int)
|
pop
|
([9],)
|
[]
|
list(int) -> list(int)
|
tail
|
([2, 3, 6, 7],)
|
[3, 6, 7]
|
list(int) -> list(int)
|
Prepend '+167' to first word
|
('+169 29',)
|
+167+169
|
list(char) -> list(char)
|
First letters of words (III)
|
('Lango Babiarz R',)
|
LBR
|
list(char) -> list(char)
|
First letters of words (IIIIII)
|
('21 B',)
|
2B
|
list(char) -> list(char)
|
drop first word delimited by '-'
|
('62-Temple',)
|
Temple
|
list(char) -> list(char)
|
Take first 2 characters
|
('Dermody',)
|
De
|
list(char) -> list(char)
|
append-index-k with k=4
|
([12, 14, 1, 8, 0, 5, 7, 3],)
|
[12, 14, 1, 8, 0, 5, 7, 3, 8]
|
list(int) -> list(int)
|
range +1 maximum list
|
([3, 6],)
|
[0, 1, 2, 3, 4, 5, 6]
|
list(int) -> list(int)
|
Replace ',' w/ '.'
|
('017,Celsa',)
|
017.Celsa
|
list(char) -> list(char)
|
nth (n=1) word delimited by ' '
|
('29 Ferrari250',)
|
Ferrari250
|
list(char) -> list(char)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.