description
stringlengths
3
46
input
stringlengths
4
74
output
stringlengths
1
90
types
stringclasses
9 values
kth-largest with k=2
([9, 16, 7, 6, 3],)
9
list(int) -> int
kth-largest with k=1
([4, 7, 11, 4, 2, 5, 13, 5],)
13
list(int) -> int
Abbreviate separate words (IIIII)
('50', 'PA')
5.P.
list(char) -> list(char) -> list(char)
bool-identify-geq-k with k=2
([1],)
[False]
list(int) -> list(bool)
bool-identify-is-mod-k with k=3
([1, 12, 8],)
[False, True, False]
list(int) -> list(bool)
Replace ' ' w/ '('
('035 Penn Hornak',)
035(Penn(Hornak
list(char) -> list(char)
Append 2 strings (II)
('+163', '+141')
+163+141
list(char) -> list(char) -> list(char)
remove eq 0
([3, 5, 6, 5, 0],)
[3, 5, 6, 5]
list(int) -> list(int)
Append '+138'
('TX',)
TX+138
list(char) -> list(char)
is-mod-k with k=5
([65, 60],)
True
list(int) -> bool
Abbreviate separate words (IIIIII)
('Lakenya', '62')
L.6.
list(char) -> list(char) -> list(char)
has-k with k=3
([16, 6, 8, 13, 14],)
False
list(int) -> bool
append-index-k with k=5
([12, 5, 6, 5, 15, 2, 10, 7, 7, 2, 13, 10],)
[12, 5, 6, 5, 15, 2, 10, 7, 7, 2, 13, 10, 15]
list(int) -> list(int)
max
([0],)
0
list(int) -> int
Append two words delimited by '-'
('47', 'NY')
47-NY
list(char) -> list(char) -> list(char)
Extract word delimited by ')' - ','
('244)Karrie,Lashanda)Kimberley',)
Karrie
list(char) -> list(char)
caesar-cipher-k-modulo-n with k=4 and n=3
([0, 0, 0, 2, 2],)
[1, 1, 1, 0, 0]
list(int) -> list(int)
First letters of words (IIII)
('CT FreeHafer Bogle',)
CFB
list(char) -> list(char)
nth (n=0) word delimited by '('
('Pennsylvania(Marquess',)
Pennsylvania
list(char) -> list(char)
ensure suffix `Scalia`
('UIUC 526',)
UIUC 526Scalia
list(char) -> list(char)
caesar-cipher-k-modulo-n with k=2 and n=3
([0, 0],)
[2, 2]
list(int) -> list(int)
Append 'Angeles'
('Celsa',)
CelsaAngeles
list(char) -> list(char)
parentheses around a single word (IIII)
('+176',)
(+176)
list(char) -> list(char)
Abbreviate separate words (IIIIII)
('+81', 'Halpern')
+.H.
list(char) -> list(char) -> list(char)
remove gt 1
([0, 4, 3, 3, 3],)
[0]
list(int) -> list(int)
remove eq 0
([6, 3, 3, 6, 5],)
[6, 3, 3, 6, 5]
list(int) -> list(int)
Extract word delimited by '(' - '('
('Ducati250(+183(Richert(Park',)
+183
list(char) -> list(char)
ensure suffix `Scalia`
('Angeles T N',)
Angeles T NScalia
list(char) -> list(char)
Abbreviate separate words (IIII)
('+140', 'Partida')
+.P.
list(char) -> list(char) -> list(char)
First letters of words (III)
('Trinidad 500 862',)
T58
list(char) -> list(char)
Append '+138'
('Hopkins',)
Hopkins+138
list(char) -> list(char)
ensure suffix `Scalia`
('Angeles T N',)
Angeles T NScalia
list(char) -> list(char)
nth (n=1) word delimited by ' '
('+132 Annalisa Mcgaughey Ferrari',)
Annalisa
list(char) -> list(char)
keep eq 2
([2, 2, 4, 0, 5],)
[2, 2]
list(int) -> list(int)
Append two words delimited by '. '
('771', '5')
771. 5
list(char) -> list(char) -> list(char)
parentheses around a single word (IIII)
('+155',)
(+155)
list(char) -> list(char)
slice-k-n with k=5 and n=2
([5, 12, 16, 6, 2, 14, 9, 15, 6],)
[2, 14]
list(int) -> list(int)
Extract word delimited by ',' - '.'
('504,566.20.F',)
566
list(char) -> list(char)
repeat-k with k=3
([8],)
[8, 8, 8]
list(int) -> list(int)
Extract word delimited by ',' - '.'
('86,+161.13,+7',)
+161
list(char) -> list(char)
nth (n=0) word delimited by '('
('B(23',)
B
list(char) -> list(char)
Abbreviate separate words (IIIIII)
('25', '488')
2.4.
list(char) -> list(char) -> list(char)
slice-k-n with k=3 and n=5
([9, 3, 15, 15, 11, 1, 0, 3, 6, 14, 12, 3, 8, 4],)
[15, 15, 11, 1, 0]
list(int) -> list(int)
bool-identify-k with k=0
([0, 0, 9],)
[True, True, False]
list(int) -> list(bool)
is-mod-k with k=2
([9, 9],)
False
list(int) -> bool
Prepend 'Hornak'
('865',)
Hornak865
list(char) -> list(char)
nth (n=0) word delimited by ' '
('Q +108 Desiree',)
Q
list(char) -> list(char)
dup
([],)
[]
list(int) -> list(int)
remove-mod-head
([13, 4, 0, 3, 4],)
[4, 3, 4]
list(int) -> list(int)
drop-k with k=5
([2, 9, 16, 2, 7, 12],)
[12]
list(int) -> list(int)
nth (n=-1) word delimited by ' '
('K 358 Jacquiline Columbia',)
Columbia
list(char) -> list(char)
modulo-k with k=1
([14, 14, 14, 0, 7, 3],)
[0, 0, 0, 0, 0, 0]
list(int) -> list(int)
bool-identify-is-mod-k with k=5
([5],)
[True]
list(int) -> list(bool)
Append '636'
('C',)
C636
list(char) -> list(char)
Prepend 'Jani'
('Ithaca',)
JaniIthaca
list(char) -> list(char)
slice-k-n with k=4 and n=4
([6, 12, 7, 10, 16, 3, 4, 7, 4, 9, 4, 2],)
[10, 16, 3, 4]
list(int) -> list(int)
caesar-cipher-k-modulo-n with k=1 and n=2
([],)
[]
list(int) -> list(int)
repeat
([1, 2],)
[2]
list(int) -> list(int)
Append '+138'
('TX',)
TX+138
list(char) -> list(char)
Append 'Beata'
('092',)
092Beata
list(char) -> list(char)
Append two words delimited by '..'
('Vena', '50')
Vena..50
list(char) -> list(char) -> list(char)
Take first character and append '-'
('751',)
7-
list(char) -> list(char)
First letters of words (II)
('438 20 MA FreeHafer',)
42MF
list(char) -> list(char)
Append two words delimited by '.-'
('Philadelphia', '6')
Philadelphia.-6
list(char) -> list(char) -> list(char)
tail
([5, 9, 1],)
[9, 1]
list(int) -> list(int)
sort
([2, 5, 4, 2, 0, 5, 1, 1],)
[0, 1, 1, 2, 2, 4, 5, 5]
list(int) -> list(int)
slice-k-n with k=2 and n=4
([15, 16, 14, 9, 16, 13, 10, 3, 13, 9, 11],)
[16, 14, 9, 16]
list(int) -> list(int)
pow-k with k=4
([0, 9, 12, 7, 0],)
[0, 6561, 20736, 2401, 0]
list(int) -> list(int)
slice-k-n with k=5 and n=1
([3, 16, 9, 15, 13, 13, 15, 4, 11, 9, 16],)
[13]
list(int) -> list(int)
prepend-index-k with k=1
([8, 5, 11],)
[8, 8, 5, 11]
list(int) -> list(int)
count-k with k=1
([8, 7],)
0
list(int) -> int
Replace '(' w/ ')'
('Hornak(Q(Mackenzie',)
Hornak)Q)Mackenzie
list(char) -> list(char)
Abbreviate words separated by ','
('FreeHafer,Park',)
F.P.
list(char) -> list(char)
kth-largest with k=5
([7, 13, 16, 12, 4, 5],)
5
list(int) -> int
bool-identify-is-mod-k with k=3
([3, 16, 11, 3],)
[True, False, False, True]
list(int) -> list(bool)
caesar-cipher-k-modulo-n with k=4 and n=5
([1],)
[0]
list(int) -> list(int)
ensure suffix `568`
('MD Hopkins 394',)
MD Hopkins 394568
list(char) -> list(char)
nth (n=1) word delimited by '.'
('H.+7.Cortes.+169',)
+7
list(char) -> list(char)
reverse
([],)
[]
list(int) -> list(int)
is-squares
([1, 4, 9, 15],)
False
list(int) -> bool
kth-largest with k=2
([0, 9, 1],)
1
list(int) -> int
+1 maximum list
([1, 1],)
2
list(int) -> int
slice-k-n with k=1 and n=4
([12, 1, 8, 14, 0, 15, 6, 16, 1],)
[12, 1, 8, 14]
list(int) -> list(int)
parentheses around word delimited by '-' & '.'
('-Haven.80',)
-(Haven).80
list(char) -> list(char)
Take first 3 characters
('766',)
766
list(char) -> list(char)
keep-mod-k with k=3
([],)
[]
list(int) -> list(int)
keep-mod-k with k=4
([8],)
[8]
list(int) -> list(int)
Replace '(' w/ ' '
('CT(Heintz(Cornell(Phillip',)
CT Heintz Cornell Phillip
list(char) -> list(char)
Prepend '170' to first word
('Malissa 500',)
170Malissa
list(char) -> list(char)
First letters of words (IIII)
('CT FreeHafer Bogle',)
CFB
list(char) -> list(char)
is-odds
([6, 4, 6, 12, 0, 8, 1],)
False
list(int) -> bool
count-k with k=5
([16],)
0
list(int) -> int
Take first character and append ' '
('MI',)
M
list(char) -> list(char)
kth-largest with k=2
([13, 0],)
0
list(int) -> int
rotate-k with k=4
([11, 2, 8, 16, 9, 8, 11, 10, 14, 11, 16, 5, 15, 2, 5, 13],)
[15, 2, 5, 13, 11, 2, 8, 16, 9, 8, 11, 10, 14, 11, 16, 5]
list(int) -> list(int)
prepend-k with k=5
([],)
[5]
list(int) -> list(int)
rotate-k with k=3
([4, 13, 10, 0, 1, 2, 6, 4],)
[2, 6, 4, 4, 13, 10, 0, 1]
list(int) -> list(int)
has-k with k=5
([5, 5, 5, 5, 5, 5],)
True
list(int) -> bool
caesar-cipher-k-modulo-n with k=3 and n=2
([0, 1, 1, 0, 1, 1],)
[1, 0, 0, 1, 0, 0]
list(int) -> list(int)
caesar-cipher-k-modulo-n with k=3 and n=4
([1, 1],)
[0, 0]
list(int) -> list(int)