description
stringlengths 3
46
| input
stringlengths 4
74
| output
stringlengths 1
90
⌀ | types
stringclasses 9
values |
---|---|---|---|
Append 2 strings (II)
|
('I', 'P')
|
IP
|
list(char) -> list(char) -> list(char)
|
rotate-k with k=3
|
([0, 5, 4, 2, 14, 6],)
|
[2, 14, 6, 0, 5, 4]
|
list(int) -> list(int)
|
parentheses around word delimited by ' ' & ' '
|
(' California +104,Teddy',)
|
(California) +104,Teddy
|
list(char) -> list(char)
|
head
|
([1, 1, 2, 1],)
|
1
|
list(int) -> int
|
slice-k-n with k=4 and n=3
|
([0, 5, 13, 3, 15, 5, 12, 5, 4, 2, 2, 3, 16],)
|
[3, 15, 5]
|
list(int) -> list(int)
|
Drop last 5 characters
|
('Heintz',)
|
H
|
list(char) -> list(char)
|
Prepend 'Hornak'
|
('Mackenzie',)
|
HornakMackenzie
|
list(char) -> list(char)
|
nth (n=0) word delimited by ')'
|
('L)40)591)W',)
|
L
|
list(char) -> list(char)
|
nth (n=1) word delimited by ','
|
('Arbor,Scalia,Seamons,847',)
|
Scalia
|
list(char) -> list(char)
|
mult-k with k=0
|
([11, 11, 4, 14, 6, 14, 0],)
|
[0, 0, 0, 0, 0, 0, 0]
|
list(int) -> list(int)
|
prepend-index-k with k=2
|
([2, 14, 3, 15, 14, 3, 5, 15],)
|
[14, 2, 14, 3, 15, 14, 3, 5, 15]
|
list(int) -> list(int)
|
modulo-k with k=2
|
([0, 9, 12, 7, 0],)
|
[0, 1, 0, 1, 0]
|
list(int) -> list(int)
|
Take first character and append '('
|
('020',)
|
0(
|
list(char) -> list(char)
|
Abbreviate words separated by ' '
|
('+104 Hayley',)
|
+.H.
|
list(char) -> list(char)
|
count-k with k=1
|
([],)
|
0
|
list(int) -> int
|
nth (n=0) word delimited by '-'
|
('Jeff-Lara-Karrie',)
|
Jeff
|
list(char) -> list(char)
|
product
|
([11, 9, 9],)
|
891
|
list(int) -> int
|
rotate-k with k=3
|
([2, 11, 6, 10, 14, 2, 14, 3, 15, 14, 3, 5, 15, 0, 1, 15, 1],)
|
[1, 15, 1, 2, 11, 6, 10, 14, 2, 14, 3, 15, 14, 3, 5, 15, 0]
|
list(int) -> list(int)
|
slice-k-n with k=4 and n=1
|
([4, 8, 10, 12, 12, 3, 13, 4, 7, 10, 10],)
|
[12]
|
list(int) -> list(int)
|
pow-k with k=2
|
([5, 6, 2, 8, 9],)
|
[25, 36, 4, 64, 81]
|
list(int) -> list(int)
|
Append two words delimited by ' -'
|
('2', 'J')
|
2 -J
|
list(char) -> list(char) -> list(char)
|
parentheses around a single word (III)
|
('Park',)
|
(Park)
|
list(char) -> list(char)
|
kth-smallest with k=2
|
([7, 2, 5, 9, 11, 13, 2],)
|
2
|
list(int) -> int
|
ensure suffix `Columbia`
|
('647 Seamons 40 Teddy',)
|
647 Seamons 40 TeddyColumbia
|
list(char) -> list(char)
|
fibonacci
|
(9,)
|
34
|
int -> int
|
Drop last 3 characters
|
('Hage',)
|
H
|
list(char) -> list(char)
|
nth (n=-1) word delimited by '.'
|
('N.Annalisa.Houston',)
|
Houston
|
list(char) -> list(char)
|
keep eq 0
|
([6, 6, 1, 6, 5],)
|
[]
|
list(int) -> list(int)
|
Abbreviate words separated by '-'
|
('Kathlyn-Beata',)
|
K.B.
|
list(char) -> list(char)
|
Append 2 strings (IIIII)
|
('Soderstrom', '+199')
|
Soderstrom+199
|
list(char) -> list(char) -> list(char)
|
Append 'Angeles'
|
('Spell',)
|
SpellAngeles
|
list(char) -> list(char)
|
Append two words delimited by '.-'
|
('2', 'Kotas')
|
2.-Kotas
|
list(char) -> list(char) -> list(char)
|
mult-k with k=2
|
([8, 5, 16],)
|
[16, 10, 32]
|
list(int) -> list(int)
|
add-k with k=1
|
([6, 2, 13],)
|
[7, 3, 14]
|
list(int) -> list(int)
|
Prepend 'Ghoston' to first word
|
('720 588',)
|
Ghoston720
|
list(char) -> list(char)
|
First letters of words (III)
|
('000 Dermody +196',)
|
0D+
|
list(char) -> list(char)
|
is-primes
|
([4, 13],)
|
False
|
list(int) -> bool
|
slice-k-n with k=5 and n=2
|
([2, 15, 5, 13, 14, 10, 2, 2, 15, 16, 1, 13, 15, 4],)
|
[14, 10]
|
list(int) -> list(int)
|
drop-k with k=5
|
([0, 8, 7, 16, 13, 3, 8, 0, 13],)
|
[3, 8, 0, 13]
|
list(int) -> list(int)
|
keep gt 2
|
([2, 4, 3, 4, 5],)
|
[4, 3, 4, 5]
|
list(int) -> list(int)
|
Take first character and append '.'
|
('+46',)
|
+.
|
list(char) -> list(char)
|
Extract word delimited by ',' - '.'
|
('426,Lain.45,Honda125',)
|
Lain
|
list(char) -> list(char)
|
slice-k-n with k=4 and n=1
|
([10, 3, 6, 1, 10, 12, 5],)
|
[1]
|
list(int) -> list(int)
|
Extract word delimited by ',' - ','
|
('Jeff,Scalia,Gertude,877',)
|
Scalia
|
list(char) -> list(char)
|
Abbreviate words separated by ' '
|
('Annalisa College',)
|
A.C.
|
list(char) -> list(char)
|
parentheses around a single word (IIIII)
|
('68',)
|
(68)
|
list(char) -> list(char)
|
slice-k-n with k=4 and n=1
|
([2, 8, 12, 12, 3, 7, 5, 12, 3, 13],)
|
[12]
|
list(int) -> list(int)
|
Append two words delimited by '. '
|
('62', 'Mackenzie')
|
62. Mackenzie
|
list(char) -> list(char) -> list(char)
|
kth-smallest with k=3
|
([4, 14, 15],)
|
15
|
list(int) -> int
|
is-squares
|
([3],)
|
False
|
list(int) -> bool
|
Abbreviate words separated by ' '
|
('Annalisa College',)
|
A.C.
|
list(char) -> list(char)
|
fibonacci
|
(9,)
|
34
|
int -> int
|
Append two words delimited by ')'
|
('Storrs', 'Jacquiline')
|
Storrs)Jacquiline
|
list(char) -> list(char) -> list(char)
|
bool-identify-k with k=1
|
([1, 2, 9, 16],)
|
[True, False, False, False]
|
list(int) -> list(bool)
|
remove gt 1
|
([5, 0, 4, 5, 3],)
|
[0]
|
list(int) -> list(int)
|
product
|
([1, 1, 2, 1],)
|
2
|
list(int) -> int
|
Prepend 'Spell'
|
('+105',)
|
Spell+105
|
list(char) -> list(char)
|
dup
|
([7, 8, 16],)
|
[7, 7, 8, 8, 16, 16]
|
list(int) -> list(int)
|
Prepend '086' to first word
|
('18 Miah',)
|
08618
|
list(char) -> list(char)
|
prepend-k with k=5
|
([4, 16, 2],)
|
[5, 4, 16, 2]
|
list(int) -> list(int)
|
slice-k-n with k=2 and n=1
|
([9, 13, 15, 7, 10],)
|
[13]
|
list(int) -> list(int)
|
kth-largest with k=5
|
([12, 9, 2, 7, 13, 11, 1, 8, 14, 3, 14, 3],)
|
11
|
list(int) -> int
|
drop first word delimited by '.'
|
('Acura.Urbana',)
|
Urbana
|
list(char) -> list(char)
|
Prepend 'Sergienko'
|
('F',)
|
SergienkoF
|
list(char) -> list(char)
|
is-mod-k with k=5
|
([2, 6, 8],)
|
False
|
list(int) -> bool
|
bool-identify-geq-k with k=2
|
([-1, -1, 6, 15],)
|
[False, False, True, True]
|
list(int) -> list(bool)
|
nth (n=-1) word delimited by '-'
|
('21-of',)
|
of
|
list(char) -> list(char)
|
count-k with k=2
|
([2, 12, 11, 5, 12, 1],)
|
1
|
list(int) -> int
|
Append two words delimited by ' -'
|
('622', 'Andrew')
|
622 -Andrew
|
list(char) -> list(char) -> list(char)
|
remove-index-k with k=5
|
([3, 8, 6, 6, 11, 3, 4, 1, 4],)
|
[3, 8, 6, 6, 3, 4, 1, 4]
|
list(int) -> list(int)
|
First letters of words (I)
|
('C 461 +140 Phillip',)
|
C4+P
|
list(char) -> list(char)
|
remove-index-k with k=1
|
([12, 14, 15, 4, 8, 1, 0, 10],)
|
[14, 15, 4, 8, 1, 0, 10]
|
list(int) -> list(int)
|
Prepend 'Hornak'
|
('H',)
|
HornakH
|
list(char) -> list(char)
|
is-mod-k with k=3
|
([9, 9, 0, 21, 27, 30, 30],)
|
True
|
list(int) -> bool
|
caesar-cipher-k-modulo-n with k=1 and n=2
|
([0, 0, 1, 0, 1, 0],)
|
[1, 1, 0, 1, 0, 1]
|
list(int) -> list(int)
|
ensure suffix `769`
|
('520 T769',)
|
520 T769
|
list(char) -> list(char)
|
Append 2 strings (IIIII)
|
('Soderstrom', '+199')
|
Soderstrom+199
|
list(char) -> list(char) -> list(char)
|
reverse
|
([15, 7, 11],)
|
[11, 7, 15]
|
list(int) -> list(int)
|
nth (n=1) word delimited by ','
|
('Sergienko,009,Jacquiline,Sergienko',)
|
009
|
list(char) -> list(char)
|
count-k with k=2
|
([3, 8, 1],)
|
0
|
list(int) -> int
|
Replace '-' w/ ','
|
('834-Cruz-+197-Clasen',)
|
834,Cruz,+197,Clasen
|
list(char) -> list(char)
|
bool-identify-is-mod-k with k=3
|
([3, 3],)
|
[True, True]
|
list(int) -> list(bool)
|
drop first word delimited by ')'
|
('Mariel)+195',)
|
+195
|
list(char) -> list(char)
|
pop
|
([1, 2, 3],)
|
[1, 2]
|
list(int) -> list(int)
|
max
|
([3],)
|
3
|
list(int) -> int
|
Replace '(' w/ ' '
|
('377(209(+118',)
|
377 209 +118
|
list(char) -> list(char)
|
remove-mod-k with k=2
|
([15, 2, 6],)
|
[15]
|
list(int) -> list(int)
|
parentheses around word delimited by '-' & '.'
|
('9-Ducati125.976.Alida',)
|
9-(Ducati125).976.Alida
|
list(char) -> list(char)
|
nth (n=0) word delimited by '.'
|
('Bradford.971.+180',)
|
Bradford
|
list(char) -> list(char)
|
prepend-index-k with k=2
|
([4, 9, 6, 7, 6, 12, 4, 8],)
|
[9, 4, 9, 6, 7, 6, 12, 4, 8]
|
list(int) -> list(int)
|
add-k with k=5
|
([4, 5, 4, 0, 8, 9],)
|
[9, 10, 9, 5, 13, 14]
|
list(int) -> list(int)
|
sum
|
([1, 1, 2, 1],)
|
5
|
list(int) -> int
|
parentheses around word delimited by ',' & ','
|
(',548,43',)
|
,(548),43
|
list(char) -> list(char)
|
take-k with k=3
|
([7, 3, 11, 12, 6, 7, 13, 9, 9],)
|
[7, 3, 11]
|
list(int) -> list(int)
|
append-index-k with k=1
|
([13, 14, 9, 10, 15, 3, 9, 15],)
|
[13, 14, 9, 10, 15, 3, 9, 15, 13]
|
list(int) -> list(int)
|
kth-smallest with k=1
|
([16],)
|
16
|
list(int) -> int
|
add-k with k=5
|
([5],)
|
[10]
|
list(int) -> list(int)
|
append-index-k with k=3
|
([11, 11, 2, 9],)
|
[11, 11, 2, 9, 2]
|
list(int) -> list(int)
|
Prepend 'UCLA'
|
('Santa',)
|
UCLASanta
|
list(char) -> list(char)
|
Append 2 strings (IIIIII)
|
('O', '765')
|
O765
|
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.