description
stringlengths
3
46
input
stringlengths
4
74
output
stringlengths
1
90
types
stringclasses
9 values
replace-all-with-index-k with k=1
([1, 11, 15, 14, 15],)
[1, 1, 1, 1, 1]
list(int) -> list(int)
slice-k-n with k=2 and n=5
([12, 12, 10, 16, 5, 6, 9, 4, 1, 0, 13, 4, 15, 7],)
[12, 10, 16, 5, 6]
list(int) -> list(int)
kth-largest with k=1
([11, 2, 10, 10],)
11
list(int) -> int
Replace ' ' w/ '('
('52 622',)
52(622
list(char) -> list(char)
First letters of words (IIII)
('Spell 865 169 095',)
S810
list(char) -> list(char)
Append two words delimited by '..'
('Ferrari', 'Angeles')
Ferrari..Angeles
list(char) -> list(char) -> list(char)
drop first word delimited by '.'
('Jenee.21.80.Soderstrom',)
21.80.Soderstrom
list(char) -> list(char)
Append two words delimited by '. '
('62', 'Mackenzie')
62. Mackenzie
list(char) -> list(char) -> list(char)
Append 'Cornell'
('715',)
715Cornell
list(char) -> list(char)
Take first character and append '.'
('+189',)
+.
list(char) -> list(char)
remove-mod-k with k=4
([],)
[]
list(int) -> list(int)
First letters of words (I)
('C 461 +140 Phillip',)
C4+P
list(char) -> list(char)
Prepend '177' to first word
('Jacqualine +180',)
177Jacqualine
list(char) -> list(char)
nth (n=-1) word delimited by '.'
('+118.Mulloy.56',)
56
list(char) -> list(char)
keep gt 2
([0, 4, 4, 6, 0],)
[4, 4, 6]
list(int) -> list(int)
Append 'Cornell'
('Akiyama',)
AkiyamaCornell
list(char) -> list(char)
Append two words delimited by ' '
('Lain', 'Irwin')
Lain Irwin
list(char) -> list(char) -> list(char)
prepend-index-k with k=5
([3, 7, 1, 14, 7, 1, 10, 4, 2, 6],)
[7, 3, 7, 1, 14, 7, 1, 10, 4, 2, 6]
list(int) -> list(int)
Drop last 5 characters
('Heintz',)
H
list(char) -> list(char)
Take first character and append ','
('Covelli',)
C,
list(char) -> list(char)
keep-mod-k with k=5
([35, 25],)
[35, 25]
list(int) -> list(int)
drop-k with k=2
([0, 9, 1],)
[1]
list(int) -> list(int)
Take first 5 characters
('Carlene',)
Carle
list(char) -> list(char)
is-primes
([5, 13, 7, 5],)
True
list(int) -> bool
repeat
([4, 6],)
[6, 6, 6, 6]
list(int) -> list(int)
slice-k-n with k=5 and n=4
([8, 1, 8, 16, 7, 10, 9, 3, 9, 9, 10, 3, 15, 16, 5, 5],)
[7, 10, 9, 3]
list(int) -> list(int)
Extract word delimited by '-' - ')'
('NY-Philadelphia)Ferrari-PA',)
Philadelphia
list(char) -> list(char)
Drop last 4 characters
('Jenee',)
J
list(char) -> list(char)
Abbreviate words separated by ')'
('585)13',)
5.1.
list(char) -> list(char)
prepend-index-k with k=1
([0, 9, 3, 1, 2, 3, 11, 8],)
[0, 0, 9, 3, 1, 2, 3, 11, 8]
list(int) -> list(int)
remove-mod-k with k=3
([0, 0, 7, 11, 27, 24, 7],)
[7, 11, 7]
list(int) -> list(int)
Take first 5 characters
('Desiree',)
Desir
list(char) -> list(char)
caesar-cipher-k-modulo-n with k=5 and n=3
([2, 0, 0],)
[1, 2, 2]
list(int) -> list(int)
kth-smallest with k=5
([13, 4, 9, 6, 7, 6, 12, 4, 8, 16, 4],)
6
list(int) -> int
remove eq 2
([2, 4, 5, 2, 2],)
[4, 5]
list(int) -> list(int)
nth (n=-1) word delimited by ')'
('+42)+98)+115)Junkin',)
Junkin
list(char) -> list(char)
parentheses around word delimited by ',' & ' '
(',551 Cencici 68',)
,(551) Cencici 68
list(char) -> list(char)
is-mod-k with k=5
([3, 12, 12, 15, 2, 4],)
False
list(int) -> bool
nth (n=0) word delimited by '('
('Pennsylvania(Marquess',)
Pennsylvania
list(char) -> list(char)
fibonacci
(6,)
8
int -> int
Extract word delimited by '-' - ')'
('T-188)Brendan-736',)
188
list(char) -> list(char)
Take first 3 characters
('598',)
598
list(char) -> list(char)
slice-k-n with k=3 and n=5
([2, 11, 6, 1, 16, 9, 12, 12, 9, 5, 6, 4, 13, 16, 14, 6],)
[6, 1, 16, 9, 12]
list(int) -> list(int)
slice-k-n with k=3 and n=2
([10, 10, 15, 3, 3, 9, 6, 15],)
[15, 3]
list(int) -> list(int)
is-mod-k with k=1
([14, 1],)
True
list(int) -> bool
parentheses around word delimited by '-' & '.'
('-Haven.80',)
-(Haven).80
list(char) -> list(char)
add-k with k=2
([14, 13, 12, 6],)
[16, 15, 14, 8]
list(int) -> list(int)
slice-k-n with k=1 and n=5
([8, 10, 7, 16, 3, 14, 0],)
[8, 10, 7, 16, 3]
list(int) -> list(int)
remove empty lists
([[], [], [], []],)
[]
list(list(bool)) -> list(list(bool))
bool-identify-is-mod-k with k=1
([12, 3, 14],)
[True, True, True]
list(int) -> list(bool)
slice-k-n with k=2 and n=5
([11, 15, 3, 9, 0, 16, 1, 0, 8, 15, 8],)
[15, 3, 9, 0, 16]
list(int) -> list(int)
nth (n=0) word delimited by '-'
('Jeff-Lara-Karrie',)
Jeff
list(char) -> list(char)
Append 2 strings (IIIIII)
('+199', '919')
+199919
list(char) -> list(char) -> list(char)
Append '636'
('Bess',)
Bess636
list(char) -> list(char)
has-k with k=5
([3, 8, 1],)
False
list(int) -> bool
parentheses around word delimited by ',' & ','
(',548,43',)
,(548),43
list(char) -> list(char)
Prepend 'Sergienko'
('009',)
Sergienko009
list(char) -> list(char)
fibonacci
(6,)
8
int -> int
keep primes
([1, 29, 17, 31, 17, 6, 31],)
[29, 17, 31, 17, 31]
list(int) -> list(int)
Extract word delimited by '-' - ')'
('York-Mackenzie)Jacquiline)L',)
Mackenzie
list(char) -> list(char)
replace-all-with-index-k with k=2
([11, 7, 16, 14, 13, 12],)
[7, 7, 7, 7, 7, 7]
list(int) -> list(int)
Abbreviate separate words (II)
('Hayley', 'Ferrari')
H.F.
list(char) -> list(char) -> list(char)
nth (n=1) word delimited by '('
('Andria(736(654',)
736
list(char) -> list(char)
slice-k-n with k=4 and n=1
([0, 6, 2, 7, 9, 8, 11, 4, 9, 11, 2],)
[7]
list(int) -> list(int)
Extract word delimited by ',' - ','
('+75,FreeHafer,861,Babiarz',)
FreeHafer
list(char) -> list(char)
is-mod-k with k=2
([],)
True
list(int) -> bool
take-k with k=3
([2, 13, 8, 1, 9],)
[2, 13, 8]
list(int) -> list(int)
drop first word delimited by '('
('Ducati(969(+144(Olague',)
969(+144(Olague
list(char) -> list(char)
Append two words delimited by '.-'
('Salley', '29')
Salley.-29
list(char) -> list(char) -> list(char)
slice-k-n with k=1 and n=5
([15, 6, 12, 11, 12, 12, 2],)
[15, 6, 12, 11, 12]
list(int) -> list(int)
slice-k-n with k=4 and n=1
([8, 13, 9, 1, 16, 0, 7, 5, 7, 11, 3, 2, 8],)
[1]
list(int) -> list(int)
caesar-cipher-k-modulo-n with k=2 and n=3
([2, 2, 2, 1],)
[1, 1, 1, 0]
list(int) -> list(int)
caesar-cipher-k-modulo-n with k=5 and n=3
([2, 1, 1, 0, 0, 2, 2],)
[1, 0, 0, 2, 2, 1, 1]
list(int) -> list(int)
Prepend 'UCLA'
('MI',)
UCLAMI
list(char) -> list(char)
keep-mod-k with k=3
([0, 6, 9, 4, 16],)
[0, 6, 9]
list(int) -> list(int)
First letters of words (IIII)
('CT FreeHafer Bogle',)
CFB
list(char) -> list(char)
nth (n=1) word delimited by ')'
('R)+144',)
+144
list(char) -> list(char)
Prepend 'Sergienko'
('F',)
SergienkoF
list(char) -> list(char)
nth (n=-1) word delimited by '('
('684(Ghoston',)
Ghoston
list(char) -> list(char)
rotate-k with k=1
([0, 12],)
[12, 0]
list(int) -> list(int)
caesar-cipher-k-modulo-n with k=3 and n=2
([0, 0, 0, 0, 1, 0, 1],)
[1, 1, 1, 1, 0, 1, 0]
list(int) -> list(int)
count-head-in-tail
([9, 14, 15, 7, 2, 6, 2],)
0
list(int) -> int
drop-k with k=3
([9, 0, 5, 8, 5, 8, 13],)
[8, 5, 8, 13]
list(int) -> list(int)
Prepend '170' to first word
('Malissa W',)
170Malissa
list(char) -> list(char)
slice-k-n with k=5 and n=1
([16, 12, 11, 0, 0, 5, 10, 14],)
[0]
list(int) -> list(int)
Drop last 1 characters
('+130',)
+13
list(char) -> list(char)
rotate-k with k=1
([1, 14, 6, 2, 2, 13, 5, 7, 3, 4, 9, 6, 4, 11],)
[11, 1, 14, 6, 2, 2, 13, 5, 7, 3, 4, 9, 6, 4]
list(int) -> list(int)
First letters of words (I)
('+118 Chism 428 Acura100',)
+C4A
list(char) -> list(char)
Prepend 'Ghoston' to first word
('FreeHafer 47',)
GhostonFreeHafer
list(char) -> list(char)
kth-smallest with k=2
([2, 16, 6, 4, 4, 1, 5],)
2
list(int) -> int
nth (n=0) word delimited by '.'
('B.25.Jeanice',)
B
list(char) -> list(char)
count-k with k=5
([5],)
1
list(int) -> int
sort-and-deduplicate
([0, 10, 3, 4],)
[0, 3, 4, 10]
list(int) -> list(int)
slice-k-n with k=5 and n=1
([7, 12, 1, 4, 5, 14, 3],)
[5]
list(int) -> list(int)
Prepend 'UCLA'
('MI',)
UCLAMI
list(char) -> list(char)
Append two words delimited by ')'
('Park', 'Hopkins')
Park)Hopkins
list(char) -> list(char) -> list(char)
nth (n=0) word delimited by ')'
('Lara)+176',)
Lara
list(char) -> list(char)
Extract word delimited by ')' - ','
('244)Karrie,Lashanda)Kimberley',)
Karrie
list(char) -> list(char)
Append two words delimited by '('
('Q', 'Ducati250')
Q(Ducati250
list(char) -> list(char) -> list(char)
caesar-cipher-k-modulo-n with k=5 and n=4
([0, 3, 2, 2, 2],)
[1, 0, 3, 3, 3]
list(int) -> list(int)