description
stringlengths 3
46
| input
stringlengths 4
74
| output
stringlengths 1
90
⌀ | types
stringclasses 9
values |
---|---|---|---|
nth (n=0) word delimited by ',' | ('+115,+106',) | +115 | list(char) -> list(char) |
pow-k with k=4 | ([2, 0, 1, 11, 11, 10],) | [16, 0, 1, 14641, 14641, 10000] | list(int) -> list(int) |
Append 'Dermody' | ('Columbia',) | ColumbiaDermody | list(char) -> list(char) |
count-k with k=1 | ([1, 1, 1, 1],) | 4 | list(int) -> int |
drop-k with k=5 | ([13, 11, 10, 7, 13, 11, 9],) | [11, 9] | list(int) -> list(int) |
Append two words delimited by ' ' | ('35', 'Rowden') | 35 Rowden | list(char) -> list(char) -> list(char) |
Extract word delimited by ')' - ',' | ('+104)+58,Ramthun,Bobo',) | +58 | list(char) -> list(char) |
sort-and-deduplicate | ([8, 2, 10, 5],) | [2, 5, 8, 10] | list(int) -> list(int) |
remove-index-k with k=4 | ([7, 14, 8, 15, 8],) | [7, 14, 8, 8] | list(int) -> list(int) |
slice-k-n with k=5 and n=4 | ([2, 3, 9, 15, 1, 14, 7, 13, 10, 12, 14, 1, 11, 5, 12],) | [1, 14, 7, 13] | list(int) -> list(int) |
Drop last 1 characters | ('769',) | 76 | list(char) -> list(char) |
slice-k-n with k=1 and n=3 | ([12, 4, 14, 2, 6, 9, 14],) | [12, 4, 14] | list(int) -> list(int) |
slice-k-n with k=4 and n=5 | ([14, 14, 8, 2, 4, 8, 10, 9, 12, 11, 10],) | [2, 4, 8, 10, 9] | list(int) -> list(int) |
keep-mod-k with k=4 | ([0],) | [0] | list(int) -> list(int) |
is-odds | ([21, 9, 33],) | True | list(int) -> bool |
nth (n=-1) word delimited by '.' | ('197.58',) | 58 | list(char) -> list(char) |
Prepend 'Jani' | ('25',) | Jani25 | list(char) -> list(char) |
kth-largest with k=3 | ([3, 9, 1, 7, 12, 5, 12, 4, 14, 12],) | 12 | list(int) -> int |
bool-identify-is-mod-k with k=2 | ([5, 16, 12],) | [False, True, True] | list(int) -> list(bool) |
Abbreviate words separated by ',' | ('Trinidad,58',) | T.5. | list(char) -> list(char) |
fibonacci | (9,) | 34 | int -> int |
bool-identify-geq-k with k=3 | ([11, 4, 4, 4, 4],) | [True, True, True, True, True] | list(int) -> list(bool) |
keep squares | ([9, 4, 1, 9, 4, 8, 6],) | [9, 4, 1, 9, 4] | list(int) -> list(int) |
drop first word delimited by '.' | ('Jenee.21.80.Soderstrom',) | 21.80.Soderstrom | list(char) -> list(char) |
ensure suffix `997` | ('Quashie Miah',) | Quashie Miah997 | list(char) -> list(char) |
has-k with k=1 | ([0, 0, 5, 3],) | False | list(int) -> bool |
has-k with k=2 | ([1, 2, 9, 16],) | True | list(int) -> bool |
bool-identify-geq-k with k=2 | ([13],) | [True] | list(int) -> list(bool) |
nth (n=0) word delimited by ')' | ('Lara)+176',) | Lara | list(char) -> list(char) |
append-index-k with k=4 | ([2, 4, 8, 9, 3],) | [2, 4, 8, 9, 3, 9] | list(int) -> list(int) |
repeat | ([3, 7],) | [7, 7, 7] | list(int) -> list(int) |
Drop last 1 characters | ('Latimore',) | Latimor | list(char) -> list(char) |
count-k with k=3 | ([],) | 0 | list(int) -> int |
remove gt 3 | ([5, 6, 1, 1, 3],) | [1, 1, 3] | list(int) -> list(int) |
drop-k with k=5 | ([1, 8, 14, 3, 14, 3, 15, 11, 11, 14],) | [3, 15, 11, 11, 14] | list(int) -> list(int) |
remove eq 0 | ([1, 4, 5, 2, 0],) | [1, 4, 5, 2] | list(int) -> list(int) |
slice-k-n with k=1 and n=2 | ([9, 5, 1, 6, 8, 13, 16],) | [9, 5] | list(int) -> list(int) |
Append 2 strings (IIIII) | ('Jacquiline', 'College') | JacquilineCollege | list(char) -> list(char) -> list(char) |
Extract word delimited by ')' - ',' | ('244)Karrie,Lashanda)Kimberley',) | Karrie | list(char) -> list(char) |
drop first word delimited by ' ' | ('386 Georgina 720 141',) | Georgina 720 141 | list(char) -> list(char) |
keep eq 0 | ([3, 3, 3, 2, 1],) | [] | list(int) -> list(int) |
remove gt 3 | ([0, 2, 4, 4, 4],) | [0, 2] | list(int) -> list(int) |
count-head-in-tail | ([11],) | 0 | list(int) -> int |
tail | ([0, 1, 4],) | [1, 4] | list(int) -> list(int) |
mult-k with k=4 | ([13, 15, 13],) | [52, 60, 52] | list(int) -> list(int) |
Append 2 strings (II) | ('+163', '+141') | +163+141 | list(char) -> list(char) -> list(char) |
bool-identify-geq-k with k=3 | ([12, 6, 11, 16, 7, 10, 3],) | [True, True, True, True, True, True, True] | list(int) -> list(bool) |
nth (n=-1) word delimited by ')' | ('539)027)42',) | 42 | list(char) -> list(char) |
append-k with k=3 | ([12, 14],) | [12, 14, 3] | list(int) -> list(int) |
remove-mod-k with k=4 | ([20, 11, 0, 20, 24, 10, 24],) | [11, 10] | list(int) -> list(int) |
parentheses around first word | ('415 +115 484',) | (415) | list(char) -> list(char) |
keep gt 0 | ([6, 4, 5, 2, 5],) | [6, 4, 5, 2, 5] | list(int) -> list(int) |
Replace '-' w/ ' ' | ('759-Bogle',) | 759 Bogle | list(char) -> list(char) |
tail | ([1, 7, 4, 5, 3],) | [7, 4, 5, 3] | list(int) -> list(int) |
ensure suffix `Columbia` | ('Ferrari250 +58 AndrewColumbia',) | Ferrari250 +58 AndrewColumbia | list(char) -> list(char) |
Append 2 strings (III) | ('25', '176') | 25176 | list(char) -> list(char) -> list(char) |
nth (n=1) word delimited by '.' | ('Bogle.Jani',) | Jani | list(char) -> list(char) |
Append two words delimited by ' -' | ('Q', 'Phillip') | Q -Phillip | list(char) -> list(char) -> list(char) |
slice-k-n with k=2 and n=5 | ([15, 5, 3, 3, 12, 2, 11, 16, 6, 6, 12, 9, 13, 15, 0],) | [5, 3, 3, 12, 2] | list(int) -> list(int) |
caesar-cipher-k-modulo-n with k=3 and n=2 | ([1, 0, 0, 1, 0, 0],) | [0, 1, 1, 0, 1, 1] | list(int) -> list(int) |
Append two words delimited by ')' | ('Vena', 'Eccleston') | Vena)Eccleston | list(char) -> list(char) -> list(char) |
Extract word delimited by ',' - '.' | ('426,Lain.45,Honda125',) | Lain | list(char) -> list(char) |
pow-k with k=2 | ([7, 14, 11],) | [49, 196, 121] | list(int) -> list(int) |
nth (n=-1) word delimited by ' ' | ('K 358 Jacquiline Columbia',) | Columbia | list(char) -> list(char) |
keep-mod-k with k=2 | ([6, 8, 6, 14, 11, 4, 15],) | [6, 8, 6, 14, 4] | list(int) -> list(int) |
take-k with k=2 | ([7, 6],) | [7, 6] | list(int) -> list(int) |
bool-identify-is-mod-k with k=4 | ([0, 1, 2, 14, 3, 9, 12],) | [True, False, False, False, False, False, True] | list(int) -> list(bool) |
Append two words delimited by '(,' | ('245', '18') | 245(,18 | list(char) -> list(char) -> list(char) |
nth (n=-1) word delimited by '(' | ('Scalia(65',) | 65 | list(char) -> list(char) |
remove-index-k with k=1 | ([8, 10, 12, 11, 8, 8],) | [10, 12, 11, 8, 8] | list(int) -> list(int) |
bool-identify-is-mod-k with k=2 | ([2, 2, 2, 4, 16],) | [True, True, True, True, True] | list(int) -> list(bool) |
add-k with k=5 | ([10, 8, 4, 7],) | [15, 13, 9, 12] | list(int) -> list(int) |
Append two words delimited by ',' | ('UIUC', '608') | UIUC,608 | list(char) -> list(char) -> list(char) |
Replace '(' w/ ' ' | ('Nancy(Houston',) | Nancy Houston | list(char) -> list(char) |
has-k with k=4 | ([7, 3, 14, 6, 3],) | False | list(int) -> bool |
mult-k with k=2 | ([9, 13, 13, 15, 3, 6, 1],) | [18, 26, 26, 30, 6, 12, 2] | list(int) -> list(int) |
nth (n=1) word delimited by '-' | ('+155-Covelli-Constable-405',) | Covelli | list(char) -> list(char) |
ensure suffix `769` | ('+169 +163 +129 46',) | +169 +163 +129 46769 | list(char) -> list(char) |
Drop last 1 characters | ('Latimore',) | Latimor | list(char) -> list(char) |
Append two words delimited by '.' | ('+2', 'Jacquiline') | +2.Jacquiline | list(char) -> list(char) -> list(char) |
parentheses around a single word (I) | ('+140',) | (+140) | list(char) -> list(char) |
Append two words delimited by ' ' | ('Mariel', 'Harvard') | Mariel Harvard | list(char) -> list(char) -> list(char) |
nth (n=-1) word delimited by '-' | ('21-of',) | of | list(char) -> list(char) |
Append 2 strings (III) | ('Cambridge', 'Honda550') | CambridgeHonda550 | list(char) -> list(char) -> list(char) |
Abbreviate separate words (I) | ('Irwin', 'Spell') | I.S. | list(char) -> list(char) -> list(char) |
Replace '(' w/ ')' | ('Babiarz(Annalisa(+151(Samuel',) | Babiarz)Annalisa)+151)Samuel | list(char) -> list(char) |
slice-k-n with k=3 and n=3 | ([3, 3, 16, 13, 4, 15, 14],) | [16, 13, 4] | list(int) -> list(int) |
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) |
keep-mod-head | ([2],) | [] | list(int) -> list(int) |
keep eq 2 | ([0, 1, 4, 3, 6],) | [] | list(int) -> list(int) |
slice-k-n with k=1 and n=3 | ([6, 13, 3, 14, 6, 3, 8, 9, 10, 7, 9, 1],) | [6, 13, 3] | list(int) -> list(int) |
parentheses around word delimited by ' ' & ' ' | ('Spagnoli Marquess Gertude',) | Spagnoli (Marquess) Gertude | list(char) -> list(char) |
Abbreviate words separated by ' ' | ('938 Alida',) | 9.A. | list(char) -> list(char) |
nth (n=-1) word delimited by ' ' | ('Park +183 186',) | 186 | list(char) -> list(char) |
Take first character and append ')' | ('83',) | 8) | list(char) -> list(char) |
ensure suffix `Ramthun` | ('Annalisa Latimore ChismRamthun',) | Annalisa Latimore ChismRamthun | list(char) -> list(char) |
mult-k with k=3 | ([7, 8, 4, 3, 7],) | [21, 24, 12, 9, 21] | list(int) -> list(int) |
append-index-k with k=1 | ([4],) | [4, 4] | list(int) -> list(int) |
rotate-k with k=4 | ([16, 11, 13, 11, 3, 1, 8, 15, 7, 7],) | [8, 15, 7, 7, 16, 11, 13, 11, 3, 1] | list(int) -> list(int) |
remove gt 1 | ([5, 2, 5, 5, 2],) | [] | list(int) -> list(int) |
Subsets and Splits