description
stringlengths 3
46
| input
stringlengths 4
74
| output
stringlengths 1
90
⌀ | types
stringclasses 9
values |
---|---|---|---|
Append 2 strings (IIIII)
|
('Soderstrom', '+199')
|
Soderstrom+199
|
list(char) -> list(char) -> list(char)
|
Append 2 strings (I)
|
('I', '+172')
|
I+172
|
list(char) -> list(char) -> list(char)
|
count-head-in-tail
|
([10],)
|
0
|
list(int) -> int
|
modulo-k with k=1
|
([15, 0, 2, 7, 11, 13],)
|
[0, 0, 0, 0, 0, 0]
|
list(int) -> list(int)
|
modulo-k with k=4
|
([6],)
|
[2]
|
list(int) -> list(int)
|
Take first character and append ','
|
('Ramthun',)
|
R,
|
list(char) -> list(char)
|
drop first word delimited by '('
|
('Barbara(Temple(Samuel',)
|
Temple(Samuel
|
list(char) -> list(char)
|
keep gt 1
|
([1, 6, 2, 1, 2],)
|
[6, 2, 2]
|
list(int) -> list(int)
|
nth (n=0) word delimited by ','
|
('Neil,Heintz,Malissa,Berkeley',)
|
Neil
|
list(char) -> list(char)
|
dup
|
([4, 9, 2],)
|
[4, 4, 9, 9, 2, 2]
|
list(int) -> list(int)
|
parentheses around word delimited by ' ' & '-'
|
(' +194-9',)
|
(+194)-9
|
list(char) -> list(char)
|
pow-k with k=4
|
([14, 14, 16],)
|
[38416, 38416, 65536]
|
list(int) -> list(int)
|
last
|
([16],)
|
16
|
list(int) -> int
|
slice-k-n with k=1 and n=2
|
([6, 8, 7, 10, 2, 5, 3, 0, 15, 16, 3],)
|
[6, 8]
|
list(int) -> list(int)
|
remove-index-k with k=4
|
([4, 9, 11, 5, 11, 1],)
|
[4, 9, 11, 11, 1]
|
list(int) -> list(int)
|
modulo-k with k=2
|
([7, 0, 3, 12, 12],)
|
[1, 0, 1, 0, 0]
|
list(int) -> list(int)
|
Take first 4 characters
|
('Reily',)
|
Reil
|
list(char) -> list(char)
|
append-k with k=3
|
([7, 14, 9],)
|
[7, 14, 9, 3]
|
list(int) -> list(int)
|
slice-k-n with k=5 and n=3
|
([10, 10, 5, 2, 1, 11, 8, 9, 6, 10, 6, 11, 11, 4],)
|
[1, 11, 8]
|
list(int) -> list(int)
|
is-squares
|
([9, 10, 11],)
|
False
|
list(int) -> bool
|
keep gt 1
|
([2, 3, 4, 5, 6],)
|
[2, 3, 4, 5, 6]
|
list(int) -> list(int)
|
drop first word delimited by ' '
|
('386 Georgina 720 141',)
|
Georgina 720 141
|
list(char) -> list(char)
|
kth-largest with k=1
|
([4, 7, 11, 4, 2, 5, 13, 5],)
|
13
|
list(int) -> int
|
keep-mod-k with k=4
|
([0, 1, 2, 14, 3, 9, 12],)
|
[0, 12]
|
list(int) -> list(int)
|
nth (n=1) word delimited by '.'
|
('Karrie.Covelli.882.+129',)
|
Covelli
|
list(char) -> list(char)
|
Append 2 strings (IIIII)
|
('Madelaine', '29')
|
Madelaine29
|
list(char) -> list(char) -> list(char)
|
Append '636'
|
('Bess',)
|
Bess636
|
list(char) -> list(char)
|
prepend-k with k=5
|
([],)
|
[5]
|
list(int) -> list(int)
|
Take first 2 characters
|
('Stefany',)
|
St
|
list(char) -> list(char)
|
remove-mod-head
|
([5, 6, 16, 11, 8, 8, 5],)
|
[6, 16, 11, 8, 8]
|
list(int) -> list(int)
|
Abbreviate separate words (IIIII)
|
('Mulloy', 'V')
|
M.V.
|
list(char) -> list(char) -> list(char)
|
kth-largest with k=2
|
([15, 11, 4, 15, 14, 16, 2],)
|
15
|
list(int) -> int
|
slice-k-n with k=5 and n=4
|
([7, 6, 5, 7, 13, 8, 11, 13, 3, 16, 12, 10, 6, 15, 11, 3, 4],)
|
[13, 8, 11, 13]
|
list(int) -> list(int)
|
drop-k with k=5
|
([13, 1, 12, 11, 6, 11, 15, 11, 2, 7, 8],)
|
[11, 15, 11, 2, 7, 8]
|
list(int) -> list(int)
|
is-primes
|
([13, 9, 13, 0, 3, 10, 12],)
|
False
|
list(int) -> bool
|
Replace '-' w/ ','
|
('Georgina-Dr-Alida-Acura100',)
|
Georgina,Dr,Alida,Acura100
|
list(char) -> list(char)
|
Append 2 strings (I)
|
('Georgina', '2')
|
Georgina2
|
list(char) -> list(char) -> list(char)
|
Replace ' ' w/ '('
|
('Honda250 Casler Edison',)
|
Honda250(Casler(Edison
|
list(char) -> list(char)
|
is-squares
|
([169, 25, 25, 64, 49, 16, 256],)
|
True
|
list(int) -> bool
|
Take first character and append '-'
|
('Chong',)
|
C-
|
list(char) -> list(char)
|
repeat-many
|
([2, 1, 2, 3],)
|
[1, 2, 3, 1, 2, 3]
|
list(int) -> list(int)
|
slice-k-n with k=1 and n=4
|
([0, 7, 13, 15, 0, 9, 4, 7, 12, 7, 6],)
|
[0, 7, 13, 15]
|
list(int) -> list(int)
|
remove eq 1
|
([5, 0, 4, 2, 3],)
|
[5, 0, 4, 2, 3]
|
list(int) -> list(int)
|
remove-mod-k with k=2
|
([2, 7, 6, 8],)
|
[7]
|
list(int) -> list(int)
|
parentheses around second word
|
('O Jeanice',)
|
(Jeanice)
|
list(char) -> list(char)
|
slice-k-n with k=5 and n=3
|
([13, 7, 0, 10, 10, 10, 15, 11, 14, 4, 16, 5],)
|
[10, 10, 15]
|
list(int) -> list(int)
|
is-odds
|
([2, 5, 4, 2, 0, 5, 1, 1],)
|
False
|
list(int) -> bool
|
is-odds
|
([31, 7, 19, 29, 1],)
|
True
|
list(int) -> bool
|
slice-k-n with k=4 and n=5
|
([12, 11, 15, 8, 8, 10, 5, 5, 5, 14, 16],)
|
[8, 8, 10, 5, 5]
|
list(int) -> list(int)
|
Prepend 'Spell'
|
('358',)
|
Spell358
|
list(char) -> list(char)
|
ensure suffix `Ramthun`
|
('107 CollegeRamthun',)
|
107 CollegeRamthun
|
list(char) -> list(char)
|
pow-k with k=2
|
([13, 11, 10, 12, 13],)
|
[169, 121, 100, 144, 169]
|
list(int) -> list(int)
|
Prepend '+174'
|
('Jurgens',)
|
+174Jurgens
|
list(char) -> list(char)
|
keep eq 2
|
([5, 5, 0, 3, 2],)
|
[2]
|
list(int) -> list(int)
|
Prepend 'Jani'
|
('Honda550',)
|
JaniHonda550
|
list(char) -> list(char)
|
bool-identify-is-mod-k with k=3
|
([12],)
|
[True]
|
list(int) -> list(bool)
|
Prepend '086' to first word
|
('Georgina 72',)
|
086Georgina
|
list(char) -> list(char)
|
rotate-k with k=1
|
([10, 16, 6, 14, 11, 5, 1, 4, 2, 0, 15, 14, 13, 16, 12, 8, 11],)
|
[11, 10, 16, 6, 14, 11, 5, 1, 4, 2, 0, 15, 14, 13, 16, 12, 8]
|
list(int) -> list(int)
|
Append 2 strings (IIIIII)
|
('Miah', '81')
|
Miah81
|
list(char) -> list(char) -> list(char)
|
prepend-k with k=0
|
([1],)
|
[0, 1]
|
list(int) -> list(int)
|
index-k with k=2
|
([10, 10, 6, 8, 1, 3, 0],)
|
10
|
list(int) -> int
|
mult-k with k=4
|
([11],)
|
[44]
|
list(int) -> list(int)
|
parentheses around word delimited by '-' & '.'
|
('-Haven.80',)
|
-(Haven).80
|
list(char) -> list(char)
|
keep-mod-k with k=5
|
([10, 7, 0],)
|
[10, 0]
|
list(int) -> list(int)
|
slice-k-n with k=3 and n=1
|
([7, 7, 11, 6, 12, 5, 5],)
|
[11]
|
list(int) -> list(int)
|
is-evens
|
([14, 6, 5],)
|
False
|
list(int) -> bool
|
slice-k-n with k=1 and n=4
|
([5, 6, 8, 1, 11, 12, 12, 6, 5, 6],)
|
[5, 6, 8, 1]
|
list(int) -> list(int)
|
evens
|
([15],)
|
[]
|
list(int) -> list(int)
|
append-k with k=0
|
([5, 15, 4, 3],)
|
[5, 15, 4, 3, 0]
|
list(int) -> list(int)
|
parentheses around a single word (III)
|
('NY',)
|
(NY)
|
list(char) -> list(char)
|
nth (n=-1) word delimited by ','
|
('144,Honda550,Hopkins',)
|
Hopkins
|
list(char) -> list(char)
|
Prepend 'Ghoston' to first word
|
('720 588',)
|
Ghoston720
|
list(char) -> list(char)
|
pow-k with k=5
|
([12, 4, 8, 11, 0, 8, 11],)
|
[248832, 1024, 32768, 161051, 0, 32768, 161051]
|
list(int) -> list(int)
|
bool-identify-geq-k with k=4
|
([7, 14, 7, 0],)
|
[True, True, True, False]
|
list(int) -> list(bool)
|
parentheses around word delimited by '.' & ','
|
('.+197,64',)
|
.(+197),64
|
list(char) -> list(char)
|
bool-identify-geq-k with k=4
|
([4],)
|
[True]
|
list(int) -> list(bool)
|
drop first word delimited by ','
|
('943,65,216,CA',)
|
65,216,CA
|
list(char) -> list(char)
|
keep squares
|
([9, 9, 5, 16, 9, 0, 0],)
|
[9, 9, 16, 9, 0, 0]
|
list(int) -> list(int)
|
parentheses around first word
|
('+108 29 95 +196 332',)
|
(+108)
|
list(char) -> list(char)
|
Append two words delimited by '-'
|
('+196', 'O')
|
+196-O
|
list(char) -> list(char) -> list(char)
|
prepend-k with k=1
|
([2, 9, 7, 12, 6],)
|
[1, 2, 9, 7, 12, 6]
|
list(int) -> list(int)
|
nth (n=0) word delimited by '('
|
('B(23',)
|
B
|
list(char) -> list(char)
|
prepend-k with k=2
|
([14],)
|
[2, 14]
|
list(int) -> list(int)
|
First letters of words (IIII)
|
('CT FreeHafer Bogle',)
|
CFB
|
list(char) -> list(char)
|
parentheses around word delimited by ' ' & ' '
|
(' California +104,Teddy',)
|
(California) +104,Teddy
|
list(char) -> list(char)
|
Prepend '+167' to first word
|
('+169 29',)
|
+167+169
|
list(char) -> list(char)
|
append-index-k with k=4
|
([5, 3, 7, 1, 14, 0, 0, 2],)
|
[5, 3, 7, 1, 14, 0, 0, 2, 1]
|
list(int) -> list(int)
|
nth (n=1) word delimited by '-'
|
('504-Jeanice-K',)
|
Jeanice
|
list(char) -> list(char)
|
keep gt 1
|
([0, 6, 6, 0, 1],)
|
[6, 6]
|
list(int) -> list(int)
|
slice-k-n with k=4 and n=5
|
([2, 8, 6, 13, 2, 0, 0, 8, 8, 7, 8, 15, 12, 12, 13],)
|
[13, 2, 0, 0, 8]
|
list(int) -> list(int)
|
Abbreviate words separated by '('
|
('+180(P',)
|
+.P.
|
list(char) -> list(char)
|
Abbreviate separate words (IIII)
|
('M', '145')
|
M.1.
|
list(char) -> list(char) -> list(char)
|
remove-index-k with k=4
|
([0, 11, 12, 9, 15, 16, 0, 8],)
|
[0, 11, 12, 15, 16, 0, 8]
|
list(int) -> list(int)
|
slice-k-n with k=1 and n=2
|
([8, 6, 10, 14, 3],)
|
[8, 6]
|
list(int) -> list(int)
|
kth-smallest with k=3
|
([4, 14, 15],)
|
15
|
list(int) -> int
|
Take first 3 characters
|
('598',)
|
598
|
list(char) -> list(char)
|
drop-k with k=4
|
([5, 11, 5, 6, 7, 1, 3, 9, 14, 8],)
|
[7, 1, 3, 9, 14, 8]
|
list(int) -> list(int)
|
Append two words delimited by '-'
|
('47', 'NY')
|
47-NY
|
list(char) -> list(char) -> list(char)
|
Append two words delimited by '('
|
('204', 'Elias')
|
204(Elias
|
list(char) -> list(char) -> list(char)
|
Append two words delimited by '(,'
|
('Harvard', '+183')
|
Harvard(,+183
|
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.