Linked Questions
13 questions linked to/from Tips for Golfing in Vyxal
45 votes
142 answers
13k views
Print X without X (robber's thread)
This is the robber's thread of a cops-and-robbers challenge. You can view the cop's thread here A pretty common beginner style question is to print some string, but, there's a catch!, you need to do ...
46 votes
53 answers
8k views
ETAOIN SHRDLU golf
Short and sweet description of the challenge: Based off ETAOIN SHRDLU, your challenge is to write the shortest program or function in any language that outputs the 26 letters of the English alphabet ...
31 votes
65 answers
4k views
Palindrome Hello, World
Your task is to create a program that prints "Greetings, Planet!" exactly to the console. Seems simple enough, right? Well, here's the trick. The code must be a palindrome, meaning it reads from right ...
30 votes
31 answers
2k views
Equality in the sum of digits
Introduction Let's take the number 180. This is an interesting number because the sum of digits of this number is equal to: ...
19 votes
38 answers
4k views
Pythagorean triples given the hypotenuse
Definition (from Wikipedia) A Pythagorean triple consists of three positive integers a, b, and c, such that a² + b² = c². The typical example of a Pythagorean triple is (3,4,5): 3² + 4² = 9 + 16 = 25 ...
26 votes
20 answers
7k views
Average Length of Google
I was messing around with Pyth's url request feature, and noticed that google always gave a response with a slightly different length for me, usually ~10500 ...
13 votes
34 answers
2k views
Make every consonant after a vowel uppercase
I have a string like this: helloworldandhellocodegolf I want to make every consonant after a vowel uppercase. Desired output: ...
22 votes
22 answers
1k views
Find the maximum length in a ragged list
Given a ragged list of positive integers find the size of the largest list contained somewhere in it. For example: [1,[1,[8,2,[1,2],5,4,9]],2,[],3] Here the answer ...
17 votes
19 answers
3k views
Clock (transliterate) Cipher
Introduction: I have loads of different ciphers stored in a document I once compiled as a kid, I picked a few of the ones I thought were best suitable for challenges (not too trivial, and not too ...
20 votes
20 answers
2k views
Sort every dimension
Given a multidimensional, rectangular array of nonnegative integers, sort it at every depth (lexicographically), starting from the innermost. For example, with this array: ...
20 votes
13 answers
3k views
Shuffle an array, a little bit
Given some input array a = [a1, a2, ..., an] and a positive integer k, shuffle the input array ...
14 votes
7 answers
2k views
Alphabet Reconstruction
You are a historian studying a long forgotten language. You have just discovered a clay tablet which seems to list all known words in the language, in alphabetical order. Your task is to find this ...
9 votes
5 answers
541 views
Print the Najdorf Sicilian
The Najdorf Variation of the Sicilian Defence is an opening often played at the highest level of chess. It is named after GM Miguel Najdorf and is known for being extremely sharp and theory heavy. ...