description
stringlengths 3
46
| input
stringlengths 4
74
| output
stringlengths 1
90
⌀ | types
stringclasses 9
values |
---|---|---|---|
Take first character and append ')' | ('+169',) | +) | list(char) -> list(char) |
Abbreviate separate words (II) | ('Hayley', 'Ferrari') | H.F. | list(char) -> list(char) -> list(char) |
Drop last 2 characters | ('Nancy',) | Nan | list(char) -> list(char) |
has-k with k=4 | ([4],) | True | list(int) -> bool |
First letters of words (IIIIII) | ('43 390 Phillip',) | 43P | list(char) -> list(char) |
bool-identify-k with k=3 | ([2, 8, 0, 14, 3, 10],) | [False, False, False, False, True, False] | list(int) -> list(bool) |
take-k with k=5 | ([12, 5, 3, 12, 4, 16, 8, 6, 2, 2],) | [12, 5, 3, 12, 4] | list(int) -> list(int) |
slice-k-n with k=5 and n=3 | ([10, 16, 5, 12, 15, 15, 10, 9, 1, 4, 7, 12, 2, 15, 12, 14],) | [15, 15, 10] | list(int) -> list(int) |
nth (n=1) word delimited by ')' | ('Mariel)Carlene)Ducati100)Jeff',) | Carlene | list(char) -> list(char) |
caesar-cipher-k-modulo-n with k=1 and n=4 | ([2, 1, 2],) | [3, 2, 3] | list(int) -> list(int) |
nth (n=0) word delimited by '.' | ('Bradford.971.+180',) | Bradford | list(char) -> list(char) |
kth-largest with k=5 | ([6, 2, 1, 7, 7, 2, 11, 14, 6, 7, 11, 13],) | 7 | list(int) -> int |
Append two words delimited by '. ' | ('62', 'Mackenzie') | 62. Mackenzie | list(char) -> list(char) -> list(char) |
Prepend 'Carlene' to first word | ('997 CA',) | Carlene997 | list(char) -> list(char) |
nth (n=-1) word delimited by ')' | ('+42)+98)+115)Junkin',) | Junkin | list(char) -> list(char) |
parentheses around word delimited by ',' & ' ' | (',Samuel Stefany.+185',) | ,(Samuel) Stefany.+185 | list(char) -> list(char) |
Abbreviate separate words (IIIIII) | ('+81', 'Halpern') | +.H. | list(char) -> list(char) -> list(char) |
keep-mod-k with k=4 | ([2, 7, 3, 3],) | [] | list(int) -> list(int) |
First letters of words (IIIII) | ('Dr UC K Rowden',) | DUKR | list(char) -> list(char) |
prepend-k with k=5 | ([3],) | [5, 3] | list(int) -> list(int) |
nth (n=-1) word delimited by ',' | ('+194,Scalia,Montiel,Ghoston',) | Ghoston | list(char) -> list(char) |
remove-mod-k with k=3 | ([0, 0, 7, 11, 27, 24, 7],) | [7, 11, 7] | list(int) -> list(int) |
nth (n=1) word delimited by ')' | ('UC)+176)Jeanice)+174',) | +176 | list(char) -> list(char) |
caesar-cipher-k-modulo-n with k=2 and n=5 | ([4, 2, 2],) | [1, 4, 4] | list(int) -> list(int) |
add-k with k=4 | ([],) | [] | list(int) -> list(int) |
caesar-cipher-k-modulo-n with k=2 and n=3 | ([0],) | [2] | list(int) -> list(int) |
Take first character and append '(' | ('82',) | 8( | list(char) -> list(char) |
bool-identify-k with k=3 | ([11, 0, 3, 3, 3, 3, 3],) | [False, False, True, True, True, True, True] | list(int) -> list(bool) |
remove eq 3 | ([6, 5, 5, 5, 3],) | [6, 5, 5, 5] | list(int) -> list(int) |
Append 'Dermody' | ('+5',) | +5Dermody | list(char) -> list(char) |
parentheses around word delimited by ',' & ',' | (',548,43',) | ,(548),43 | list(char) -> list(char) |
drop-k with k=4 | ([7, 14, 14, 11, 8, 14, 3, 8, 6, 1],) | [8, 14, 3, 8, 6, 1] | list(int) -> list(int) |
Take first character and append ',' | ('56',) | 5, | list(char) -> list(char) |
ensure suffix `Columbia` | ('158 Quashie Hage',) | 158 Quashie HageColumbia | list(char) -> list(char) |
Append 2 strings (IIIII) | ('Jacquiline', 'College') | JacquilineCollege | list(char) -> list(char) -> list(char) |
parentheses around word delimited by ' ' & ' ' | (' California +104,Teddy',) | (California) +104,Teddy | list(char) -> list(char) |
Abbreviate words separated by ')' | ('+196)253',) | +.2. | list(char) -> list(char) |
index-k with k=1 | ([4, 3, 13, 1],) | 4 | list(int) -> int |
pop | ([1, 1, 2, 1],) | [1, 1, 2] | list(int) -> list(int) |
parentheses around a single word (III) | ('Park',) | (Park) | list(char) -> list(char) |
prepend-k with k=3 | ([13, 8, 9, 4, 0],) | [3, 13, 8, 9, 4, 0] | list(int) -> list(int) |
ensure suffix `Columbia` | ('647 Seamons 40 Teddy',) | 647 Seamons 40 TeddyColumbia | list(char) -> list(char) |
append-index-k with k=3 | ([11, 0, 12, 10, 15, 13],) | [11, 0, 12, 10, 15, 13, 12] | list(int) -> list(int) |
caesar-cipher-k-modulo-n with k=5 and n=4 | ([3, 0, 0],) | [0, 1, 1] | list(int) -> list(int) |
prepend-k with k=4 | ([12, 7],) | [4, 12, 7] | list(int) -> list(int) |
bool-identify-is-mod-k with k=3 | ([12],) | [True] | list(int) -> list(bool) |
remove eq 0 | ([2, 1, 3, 6, 4],) | [2, 1, 3, 6, 4] | list(int) -> list(int) |
caesar-cipher-k-modulo-n with k=3 and n=5 | ([],) | [] | list(int) -> list(int) |
Append two words delimited by '. ' | ('Philadelphia', '433') | Philadelphia. 433 | list(char) -> list(char) -> list(char) |
append-k with k=4 | ([3],) | [3, 4] | list(int) -> list(int) |
Replace '.' w/ ')' | ('Beata.21.119',) | Beata)21)119 | list(char) -> list(char) |
remove gt 2 | ([0, 5, 1, 0, 2],) | [0, 1, 0, 2] | list(int) -> list(int) |
First letters of words (IIIIII) | ('43 390 Phillip',) | 43P | list(char) -> list(char) |
ensure suffix `Columbia` | ('Cambridge MD 875 Ducati125',) | Cambridge MD 875 Ducati125Columbia | list(char) -> list(char) |
Append '636' | ('FreeHafer',) | FreeHafer636 | list(char) -> list(char) |
parentheses around first word | ('018 +176 Houston',) | (018) | list(char) -> list(char) |
bool-identify-geq-k with k=3 | ([4, 0],) | [True, False] | list(int) -> list(bool) |
is-mod-k with k=3 | ([8, 8],) | False | list(int) -> bool |
Append 2 strings (IIII) | ('426', '369') | 426369 | list(char) -> list(char) -> list(char) |
ensure suffix `Andria` | ('Madelaine +189Andria',) | Madelaine +189Andria | list(char) -> list(char) |
nth (n=0) word delimited by ')' | ('E)844',) | E | list(char) -> list(char) |
append-index-k with k=2 | ([0, 6, 13, 5],) | [0, 6, 13, 5, 6] | list(int) -> list(int) |
Extract word delimited by ',' - '.' | ('CT,+118.Mariel.40',) | +118 | list(char) -> list(char) |
Replace '-' w/ ',' | ('834-Cruz-+197-Clasen',) | 834,Cruz,+197,Clasen | list(char) -> list(char) |
index-k with k=1 | ([15, 16, 9, 12, 15, 0, 2, 7],) | 15 | list(int) -> int |
Prepend 'Hornak' | ('H',) | HornakH | list(char) -> list(char) |
slice-k-n with k=3 and n=3 | ([3, 10, 15, 15, 6, 3, 4, 10, 12, 11, 7, 15],) | [15, 15, 6] | list(int) -> list(int) |
Append 2 strings (IIII) | ('426', '369') | 426369 | list(char) -> list(char) -> list(char) |
Append 2 strings (III) | ('Cambridge', 'Honda550') | CambridgeHonda550 | list(char) -> list(char) -> list(char) |
append-index-k with k=4 | ([11, 12, 1, 15, 3, 12, 4, 5, 5, 4],) | [11, 12, 1, 15, 3, 12, 4, 5, 5, 4, 15] | list(int) -> list(int) |
Abbreviate words separated by '.' | ('T.81',) | T.8. | list(char) -> list(char) |
Append two words delimited by '(' | ('PA', 'Dermody') | PA(Dermody | list(char) -> list(char) -> list(char) |
prepend-index-k with k=5 | ([7, 5, 5, 10, 11, 7, 2, 2, 2, 10, 2, 0],) | [11, 7, 5, 5, 10, 11, 7, 2, 2, 2, 10, 2, 0] | list(int) -> list(int) |
nth (n=1) word delimited by ',' | ('473,Phialdelphia',) | Phialdelphia | list(char) -> list(char) |
Append 'Angeles' | ('469',) | 469Angeles | list(char) -> list(char) |
caesar-cipher-k-modulo-n with k=3 and n=4 | ([3, 0, 3, 3, 3],) | [2, 3, 2, 2, 2] | list(int) -> list(int) |
append-index-k with k=5 | ([13, 2, 13, 16, 1, 3],) | [13, 2, 13, 16, 1, 3, 1] | list(int) -> list(int) |
Extract word delimited by ')' - ',' | ('Cambridge)Storrs,449)10',) | Storrs | list(char) -> list(char) |
Append two words delimited by '.-' | ('2', 'Kotas') | 2.-Kotas | list(char) -> list(char) -> list(char) |
Append two words delimited by '(' | ('PA', 'Dermody') | PA(Dermody | list(char) -> list(char) -> list(char) |
Replace ',' w/ '(' | ('+132,Tobias',) | +132(Tobias | list(char) -> list(char) |
nth (n=0) word delimited by '(' | ('Pennsylvania(Marquess',) | Pennsylvania | list(char) -> list(char) |
remove gt 1 | ([1, 0, 2, 2, 5],) | [1, 0] | list(int) -> list(int) |
Abbreviate words separated by ')' | ('+196)253',) | +.2. | list(char) -> list(char) |
sort-and-deduplicate | ([3, 1],) | [1, 3] | list(int) -> list(int) |
remove gt 3 | ([4, 4, 3, 5, 3],) | [3, 3] | list(int) -> list(int) |
slice-k-n with k=1 and n=2 | ([12, 14, 1, 6, 5, 13, 3, 13, 11, 15],) | [12, 14] | list(int) -> list(int) |
add-k with k=2 | ([9, 4, 9, 6],) | [11, 6, 11, 8] | list(int) -> list(int) |
Abbreviate separate words (IIIIII) | ('O', 'Dr') | O.D. | list(char) -> list(char) -> list(char) |
Prepend '086' to first word | ('Georgina 72',) | 086Georgina | list(char) -> list(char) |
Append '636' | ('C',) | C636 | list(char) -> list(char) |
bool-identify-geq-k with k=5 | ([1, 1, 7, 1],) | [False, False, True, False] | list(int) -> list(bool) |
Prepend '+167' to first word | ('Launa 845',) | +167Launa | list(char) -> list(char) |
parentheses around word delimited by '.' & ',' | ('.+197,64',) | .(+197),64 | list(char) -> list(char) |
bool-identify-is-mod-k with k=5 | ([],) | [] | list(int) -> list(bool) |
nth (n=1) word delimited by '(' | ('Phialdelphia(+176(741(Ducati250',) | +176 | list(char) -> list(char) |
parentheses around word delimited by '-' & '.' | ('9-Ducati125.976.Alida',) | 9-(Ducati125).976.Alida | list(char) -> list(char) |
Append 'Cornell' | ('Akiyama',) | AkiyamaCornell | list(char) -> list(char) |
odds | ([1, 8, 13, 9, 6, 8],) | [1, 13, 9] | list(int) -> list(int) |
kth-smallest with k=4 | ([0, 11, 12, 9, 15, 16, 0, 8],) | 9 | list(int) -> int |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.