List of Arturo code golfs


So far, these are written using Arturo v0.9.80. Of course, the upcoming v0.9.82 and beyond will present some obvious improvements, so please keep that in mind. Some of these have been improved over time, indicated by strikethrough of the byte count. Note the difficulty rating measures how hard a problem was for me to golf, not necessarily how difficult it was to solve.

Link Byte count Date Version Difficulty Summary
Divisor of a string 56 bytes Jan 24, 2023 0.9.80 Determine which prefixes of a string can make up the string when repeated
Filter out the pseudo-elements! 42 bytes Jan 23, 2023 0.9.80 Select numbers in a list that are smaller than the average of the cumulative sum of the list
Enumerate an array, grouping duplicates 57 bytes Jan 22, 2023 0.9.80 Collect the indices of each number in a list
Capture the Flag... with a twist 52 bytes Jan 22, 2023 0.9.80 Find out who won a game of capture the flag given some information about the game
Weighted average - the pressup trend problem 40 bytes Jan 21, 2023 0.9.80 Find a weighted average of a list of numbers
Equal numbers in sub-array 61 bytes Jan 21, 2023 0.9.80 Group a list into lists of three, then count how many have three of the same number and how many have two
Replace me by the sum of my cyclic successors! 55 bytes Jan 21, 2023 0.9.80 Use the numbers in a list to guide which part of the list to sum, forming a new list
Shortest digid-app GetPercentageRounds function 54 bytes Jan 20, 2023 0.9.80 Shorten a verbose function in the source code of the Dutch Ministry of the Interior and Kingdom Relations' digid-app
P Pr Pre Pref Prefi Prefix Prefixe Prefixes 31 29 bytes Jan 19, 2023 0.9.80 Get the prefixes of a list including the empty list
Chunk + Enumerate a list of digits 40 bytes Jan 18, 2023 0.9.80 Assign unique numbers to each group of equal, contiguous numbers in a list
Sum the array times n, except the last 28 bytes Jan 18, 2023 0.9.80 Add the last number in a list to n times the sum of the list without its last number
Generate list of numbers and their negative counterparts 30 25 24 bytes Jan 18, 2023 0.9.80 Create a list of numbers and their negatives between two numbers
Replace all items with their counts 34 bytes Jan 17, 2023 0.9.80 Replace numbers in a list with their counts
Split a list at the second occurrence of the first element 35 bytes Jan 17, 2023 0.9.80 Split a list at the second occurrence of the first element
Split into sublists of specified sizes 36 bytes Jan 17, 2023 0.9.80 Split a list at lengths given by another list
Fill in the next numbers 42 bytes Jan 17, 2023 0.9.80 "Fill" the gaps in a list with the next highest number
Zip uneven lists 42 bytes Jan 17, 2023 0.9.80 Zip elements of two lists together until one runs out
"DDoouubbllee ssppeeaakk!!" 30 bytes Jan 16, 2023 0.9.80 Double each character in a string
Generate this number table 36 bytes Jan 16, 2023 0.9.80 Generate a matrix following a particular pattern based on an input number
Is this a Permutation of 1..n 22 bytes Jan 16, 2023 0.9.80 Determine whether a list is a permutation of a range starting at one
Print the ASCII Code page 42 bytes Jan 16, 2023 0.9.80 Display the printable ASCII characters, sixteen per line
Halloween Golf: The 2spooky4me Challenge! 25 bytes Jan 15, 2023 0.9.80 Generalize the "2spooky4me" meme to work with any starting number
Erverse Hte Ifrst Wto Eltters fo Aech Owrd 34 bytes Jan 15, 2023 0.9.80 Reverse the first two letters of each word in a list of strings
Implement String Projection 38 bytes Jan 15, 2023 0.9.80 Retain the letters of a string that are in another string, retaining order and count
Alphabet Checksum 29 bytes Jan 15, 2023 0.9.80 An original checksum algorithm
Sort the unique numbers in a multiplication table 52 bytes Jan 15, 2023 0.9.80 Find the unique numbers that would show up in an n*n multiplication table
Remove duplicates from my academic transcript 66 bytes Jan 14, 2023 0.9.80 Given a list of subject/grade pairs, select the pair with the highest grade for each subject
Interleave numbers from 1 to n, with the same numbers reversed 36 bytes Jan 12, 2023 0.9.80 4 -> 14233241
Find the first run of numbers summing to n 79 bytes Jan 12, 2023 0.9.80 Find the leftmost contiguous sublist that sums to a number
Apply at indices 34 bytes Jan 11, 2023 0.9.80 Apply a function to the elements in a list that are at the indices in another list
Implement a zipwith function 37 bytes Jan 10, 2023 0.9.80 Map a binary function to corresponding elements from two lists, forming a single list
Implement a cleave function 20 bytes Jan 10, 2023 0.9.80 Map a list of functions to a number
Implement an Over function 21 bytes Jan 9, 2023 0.9.80 Apply a function to two arguments individually and apply another function to the results
Implement an argwhere function 37 bytes Jan 9, 2023 0.9.80 Select the indices in a list where a function returns true
Repeat List Until Longer 33 bytes Jan 9, 2023 0.9.80 Repeat a list until it is longer than another list
Calculate the sum of the first n prime numbers 38 bytes Jan 6, 2023 0.9.80 Find the sum of the first n prime numbers
Sum every second digit in a number 32 29 bytes Jan 6, 2023 0.9.80 Find the sum of every other digit in a number that has at least two digits
Keep elements in sequence that have a letter repeated at least 3 times 62 bytes Jan 5, 2023 0.9.80 Keep the words in a list that have three or more of the same letter
Are All the Items the Same? 19 bytes Jan 4, 2023 0.9.80 Determine whether all numbers in a list are the same
Minimum excluded number 27 bytes Jan 4, 2023 0.9.80 Find the smallest number in a list that isn't in [0..20]
Non-Unique/Duplicate Elements 40 bytes Jan 4, 2023 0.9.80 Select elements of a list that repeat
Find the largest and the smallest number in an array 38 bytes Jan 3, 2023 0.9.80 Find the largest and the smallest number in an array that may also have strings in it
Compactify the input 29 bytes Jan 1, 2023 0.9.80 Keep the first letter of a string, remove vowels from the rest
Calculate the Progressive Mean 57 bytes Dec 31, 2022 0.9.80 Calculate an exponentially weighted moving average of a list
8086 Segment Address to Linear 44 bytes Dec 31, 2022 0.9.80 Convert a segmented memory address to a physical address
What's the file extension? 24 bytes Dec 31, 2022 0.9.80 Get the file extension of a file
An abundance of integers! 26 bytes Dec 31, 2022 0.9.80 Determine whether a number is abundant (sum of proper divisors > the number)
The vanilla factorial challenge 18 bytes Nov 13, 2022 0.9.80 Find the factorial of a number
Find the sum of the divisors of N 19 bytes Nov 13, 2022 0.9.80 Find the sum of the divisors of a number
Implement the hyperfactorial 29 bytes Nov 12, 2022 0.9.80 H(n)=11*22*...*nn
Is it a leap year? 5 bytes Nov 11, 2022 0.9.80 Determine whether a year is a leap year
Swap every two elements in a list 37 bytes Nov 11, 2022 0.9.80 Swap every two elements in a list
Determine if all decimal digits are unique 27 26 bytes Nov 11, 2022 0.9.80 Determine if all digits in a number are unique
Find the highest unique digit 43 bytes Nov 11, 2022 0.9.80 Find the largest digit in a number that doesn't repeat
Repeat Values In Array 48 bytes Nov 9, 2022 0.9.80 Use values in a list to determine how many times to repeat values in another list
Implement Takewhile 45 36 bytes Nov 9, 2022 0.9.80 Take the head of a list until an odd number is encountered
Number to String in aaaaa way! 62 45 bytes Nov 9, 2022 0.9.80 Convert a number to five-digit alphabet equivalent
RGB to hexadecimal 17 bytes Nov 9, 2022 0.9.80 Convert RBG color to hex
Maximum average ord 48 bytes Nov 9, 2022 0.9.80 Find the average code point of a string