description
stringlengths 3
46
| input
stringlengths 4
74
| output
stringlengths 1
90
⌀ | types
stringclasses 9
values |
---|---|---|---|
keep eq 0 | ([4, 0, 6, 3, 3],) | [0] | list(int) -> list(int) |
keep primes | ([1, 29, 7, 17, 1, 8, 23],) | [29, 7, 17, 23] | list(int) -> list(int) |
evens | ([5, 5, 8, 7, 4, 16],) | [8, 4, 16] | list(int) -> list(int) |
rotate-k with k=1 | ([7, 10, 4, 14, 4, 16, 1, 8, 4, 7, 6, 0, 2, 0, 7, 8],) | [8, 7, 10, 4, 14, 4, 16, 1, 8, 4, 7, 6, 0, 2, 0, 7] | list(int) -> list(int) |
slice-k-n with k=5 and n=2 | ([9, 12, 12, 15, 15, 7, 5, 0, 1, 13, 11, 0],) | [15, 7] | list(int) -> list(int) |
drop-k with k=2 | ([2, 14, 6, 12],) | [6, 12] | list(int) -> list(int) |
First letters of words (IIII) | ('Spell 865 169 095',) | S810 | list(char) -> list(char) |
Prepend 'Carlene' to first word | ('+155 45',) | Carlene+155 | list(char) -> list(char) |
nth (n=1) word delimited by ',' | ('Tobias,986,FreeHafer,+9',) | 986 | list(char) -> list(char) |
Take first 3 characters | ('598',) | 598 | list(char) -> list(char) |
remove eq 3 | ([6, 0, 5, 2, 3],) | [6, 0, 5, 2] | list(int) -> list(int) |
repeat-k with k=3 | ([],) | [] | list(int) -> list(int) |
Prepend 'Ghoston' to first word | ('Samuel Hage',) | GhostonSamuel | list(char) -> list(char) |
prepend-k with k=1 | ([8, 12, 11, 7, 12],) | [1, 8, 12, 11, 7, 12] | list(int) -> list(int) |
is-mod-k with k=3 | ([24, 0, 21],) | True | list(int) -> bool |
Abbreviate words separated by ' ' | ('938 Alida',) | 9.A. | list(char) -> list(char) |
Append two words delimited by ' -' | ('Q', 'Phillip') | Q -Phillip | list(char) -> list(char) -> list(char) |
has-head-in-tail | ([6, 6, 16, 6, 2],) | True | list(int) -> bool |
drop-k with k=4 | ([7, 0, 3, 6, 10, 4],) | [10, 4] | list(int) -> list(int) |
nth (n=1) word delimited by '.' | ('H.+7.Cortes.+169',) | +7 | list(char) -> list(char) |
prepend-index-k with k=3 | ([4, 3, 8, 13, 2, 12, 6, 9, 1],) | [8, 4, 3, 8, 13, 2, 12, 6, 9, 1] | list(int) -> list(int) |
modulo-k with k=5 | ([15],) | [0] | list(int) -> list(int) |
Prepend 'Hornak' | ('Mackenzie',) | HornakMackenzie | list(char) -> list(char) |
Drop last 2 characters | ('MI',) | null | list(char) -> list(char) |
First letters of words (I) | ('81 Heintz Pannell',) | 8HP | list(char) -> list(char) |
repeat-many | ([5, 1],) | [1, 1, 1, 1, 1] | list(int) -> list(int) |
prepend-k with k=1 | ([9, 3, 5, 6, 11, 12],) | [1, 9, 3, 5, 6, 11, 12] | list(int) -> list(int) |
Extract word delimited by ',' - ',' | ('7,Soderstrom,S,A',) | Soderstrom | list(char) -> list(char) |
nth (n=-1) word delimited by '.' | ('+118.Mulloy.56',) | 56 | list(char) -> list(char) |
mult-k with k=3 | ([15, 3],) | [45, 9] | list(int) -> list(int) |
parentheses around word delimited by ' ' & ' ' | ('Honda250 Melodi +9-Kotas',) | Honda250 (Melodi) +9-Kotas | list(char) -> list(char) |
Take first 5 characters | ('Carlene',) | Carle | list(char) -> list(char) |
parentheses around a single word (III) | ('Ducati',) | (Ducati) | list(char) -> list(char) |
slice-k-n with k=4 and n=1 | ([0, 0, 3, 2, 15, 14, 2],) | [2] | list(int) -> list(int) |
ensure suffix `568` | ('MD Hopkins 394',) | MD Hopkins 394568 | list(char) -> list(char) |
First letters of words (IIIIII) | ('21 B',) | 2B | list(char) -> list(char) |
count-k with k=3 | ([11, 0, 3, 3, 3, 3, 3],) | 5 | list(int) -> int |
Append two words delimited by '(' | ('204', 'Elias') | 204(Elias | list(char) -> list(char) -> list(char) |
caesar-cipher-k-modulo-n with k=1 and n=5 | ([2, 1, 2, 4],) | [3, 2, 3, 0] | list(int) -> list(int) |
pop | ([5, 11, 4, 14, 13, 8],) | [5, 11, 4, 14, 13] | list(int) -> list(int) |
Append 'Angeles' | ('+199',) | +199Angeles | list(char) -> list(char) |
prepend-index-k with k=2 | ([9, 14, 6],) | [14, 9, 14, 6] | list(int) -> list(int) |
remove-index-k with k=2 | ([14, 11],) | [14] | list(int) -> list(int) |
Abbreviate separate words (II) | ('York', 'Madelaine') | Y.M. | list(char) -> list(char) -> list(char) |
drop-k with k=2 | ([13, 0],) | [] | list(int) -> list(int) |
nth (n=1) word delimited by '(' | ('Phialdelphia(+176(741(Ducati250',) | +176 | list(char) -> list(char) |
range | (6,) | [0, 1, 2, 3, 4, 5] | int -> list(int) |
ensure suffix `769` | ('Ducati125 A Eccleston +198769',) | Ducati125 A Eccleston +198769 | list(char) -> list(char) |
kth-smallest with k=3 | ([1, 14, 9, 7, 11, 16],) | 9 | list(int) -> int |
nth (n=1) word delimited by ' ' | ('Soderstrom Scalia',) | Scalia | list(char) -> list(char) |
Extract word delimited by '-' - ')' | ('NY-Philadelphia)Ferrari-PA',) | Philadelphia | list(char) -> list(char) |
nth (n=0) word delimited by ')' | ('L)40)591)W',) | L | list(char) -> list(char) |
remove-index-k with k=5 | ([3, 3, 16, 6, 16, 4, 1],) | [3, 3, 16, 6, 4, 1] | list(int) -> list(int) |
slice-k-n with k=2 and n=4 | ([9, 13, 11, 2, 6, 14, 11, 6, 8, 2, 7],) | [13, 11, 2, 6] | list(int) -> list(int) |
slice-k-n with k=2 and n=2 | ([2, 14, 5, 16, 3, 7, 15, 3],) | [14, 5] | list(int) -> list(int) |
parentheses around word delimited by ' ' & ' ' | ('Spagnoli Marquess Gertude',) | Spagnoli (Marquess) Gertude | list(char) -> list(char) |
Append 2 strings (IIIIII) | ('O', '765') | O765 | list(char) -> list(char) -> list(char) |
take-k with k=4 | ([9, 1, 6, 11],) | [9, 1, 6, 11] | list(int) -> list(int) |
slice-k-n with k=4 and n=1 | ([10, 10, 14, 13, 9, 8, 7, 13, 10, 12, 11, 4, 16],) | [13] | list(int) -> list(int) |
slice-k-n with k=1 and n=3 | ([14, 13, 13, 2, 12, 5, 15, 3],) | [14, 13, 13] | list(int) -> list(int) |
remove-mod-k with k=5 | ([10, 15, 40],) | [] | list(int) -> list(int) |
bool-identify-geq-k with k=0 | ([11, 11],) | [True, True] | list(int) -> list(bool) |
slice-k-n with k=5 and n=5 | ([8, 0, 5, 2, 1, 6, 13, 16, 14, 6, 13, 16, 6],) | [1, 6, 13, 16, 14] | list(int) -> list(int) |
remove-mod-k with k=5 | ([0, 5],) | [] | list(int) -> list(int) |
Take first character and append '.' | ('+189',) | +. | list(char) -> list(char) |
remove-index-k with k=1 | ([6, 10, 8, 14, 2, 12],) | [10, 8, 14, 2, 12] | list(int) -> list(int) |
is-mod-k with k=5 | ([60, 25, 45, 25, 25],) | True | list(int) -> bool |
Drop last 5 characters | ('Heintz',) | H | list(char) -> list(char) |
keep gt 1 | ([5, 6, 6, 6, 3],) | [5, 6, 6, 6, 3] | list(int) -> list(int) |
parentheses around a single word (I) | ('Halpern',) | (Halpern) | list(char) -> list(char) |
is-evens | ([4, 13, 12, 8, 14, 1, 7],) | False | list(int) -> bool |
Append 2 strings (IIII) | ('426', '369') | 426369 | list(char) -> list(char) -> list(char) |
kth-largest with k=4 | ([5, 12, 2, 4, 15, 16],) | 5 | list(int) -> int |
Append 2 strings (I) | ('Phialdelphia', '40') | Phialdelphia40 | list(char) -> list(char) -> list(char) |
is-mod-k with k=5 | ([12, 10, 16, 6, 8, 13],) | False | list(int) -> bool |
Abbreviate words separated by '-' | ('Kathlyn-Beata',) | K.B. | list(char) -> list(char) |
Abbreviate words separated by '(' | ('G(Partida',) | G.P. | list(char) -> list(char) |
add-k with k=1 | ([7, 9, 8, 1, 12, 3],) | [8, 10, 9, 2, 13, 4] | list(int) -> list(int) |
drop first word delimited by ',' | ('943,65,216,CA',) | 65,216,CA | list(char) -> list(char) |
take-k with k=1 | ([10, 9, 0, 12],) | [10] | list(int) -> list(int) |
nth (n=-1) word delimited by '(' | ('Scalia(65',) | 65 | list(char) -> list(char) |
rotate-k with k=4 | ([15, 8, 14, 3, 4, 16, 1, 2, 5, 10, 5, 16, 4, 8],) | [5, 16, 4, 8, 15, 8, 14, 3, 4, 16, 1, 2, 5, 10] | list(int) -> list(int) |
nth (n=-1) word delimited by '(' | ('N(Spell(Babiarz(MD',) | MD | list(char) -> list(char) |
ensure suffix `Columbia` | ('Ferrari250 +58 AndrewColumbia',) | Ferrari250 +58 AndrewColumbia | list(char) -> list(char) |
ensure suffix `Scalia` | ('UIUC 526',) | UIUC 526Scalia | list(char) -> list(char) |
Extract word delimited by '-' - ')' | ('155-Reily)Haven)+132',) | Reily | list(char) -> list(char) |
rotate-k with k=1 | ([14, 1],) | [1, 14] | list(int) -> list(int) |
empty | ([],) | True | list(int) -> bool |
caesar-cipher-k-modulo-n with k=3 and n=5 | ([2, 1, 0, 3],) | [0, 4, 3, 1] | list(int) -> list(int) |
parentheses around a single word (IIIII) | ('Halpern',) | (Halpern) | list(char) -> list(char) |
Append 'Dermody' | ('29',) | 29Dermody | list(char) -> list(char) |
nth (n=1) word delimited by '(' | ('Phialdelphia(+176(741(Ducati250',) | +176 | list(char) -> list(char) |
Prepend 'Spell' | ('358',) | Spell358 | list(char) -> list(char) |
caesar-cipher-k-modulo-n with k=2 and n=5 | ([1],) | [3] | list(int) -> list(int) |
keep-mod-k with k=3 | ([12, 15, 0],) | [12, 15, 0] | list(int) -> list(int) |
Prepend 'Spell' | ('+105',) | Spell+105 | list(char) -> list(char) |
drop first word delimited by '-' | ('California-+158-Ghoston-82',) | +158-Ghoston-82 | list(char) -> list(char) |
nth (n=0) word delimited by ',' | ('Neil,Heintz,Malissa,Berkeley',) | Neil | list(char) -> list(char) |
nth (n=1) word delimited by ' ' | ('University Sergienko',) | Sergienko | list(char) -> list(char) |
bool-identify-k with k=3 | ([3, 3, 3, 3, 3, 6, 3],) | [True, True, True, True, True, False, True] | list(int) -> list(bool) |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.