Linked Questions
67 questions linked to/from Tips for golfing in Ruby
11 votes
15 answers
7k views
Sum of strings without converting [closed]
You have to take 2 string inputs and output the sum of these two strings without converting them to int or using any numeric data type. ex. ...
18 votes
15 answers
1k views
Insta-Name... Just Add Coder! [duplicate]
In the English language, a surefire way to make a pronounceable nonsense letter combination is to make it entirely out of consonant-vowel pairs, e.g., Wu ko pa ha, or, Me fa ro, consonant first, ...
15 votes
14 answers
2k views
Inverse n-bonacci sequence
We all know about the Fibonacci sequence. We start with two 1s and keep getting the next element with the sum of previous two elements. n-bonacci sequence can be defined in similar way, we start with <...
36 votes
8 answers
4k views
Anti-aliasing ASCII art
Background ASCII art is the practice of creating images by using ASCII text to form shapes. Aliasing is the effect created by the large "pixels" of ASCII art, which are the size of characters. The ...
11 votes
15 answers
2k views
Generate a Tiefling's Traits
A Tiefling is a character race, from Dungeons and Dragons, that has this list of possible traits: small horns fangs or sharp teeth a forked tongue catlike eyes six fingers on each hand goat-like legs ...
13 votes
17 answers
3k views
Make Code Printing X without X
The challenge is simple: write a program which takes in some non-empty string \$n\$ consisting of only uppercase and lowercase ASCII letters, and outputs the code for a program (in the same language) ...
30 votes
6 answers
2k views
Stack the rocks
This is a rock: * Rocks can be stacked. Apart from the bottom-most layer, each rock must rest on two other rocks, like this: ...
8 votes
9 answers
1k views
Golf an InterpretMe interpreter
This is a very simple challenge. The joke language InterpretMe consists of one command; *, which causes the program to take input of an InterpretMe program and ...
23 votes
6 answers
978 views
Partial factorisations of a positive integer
A collection of positive integers d_1 d_2 ... d_k is a factorisation of a positive integer n if ...
15 votes
10 answers
1k views
Count Futoshiki row solutions
Futoshiki is a logic puzzle where an \$n×n\$ Latin square must be completed based on given numbers and inequalities between adjacent cells. Each row and column must contain exactly one of each number ...
13 votes
9 answers
2k views
A classic sorting code-golf question
This is a code-golf question. Input A list of non-negative integers in whatever format is the most convenient. Output The same list in sorted order in whatever format is the most convenient. ...
16 votes
9 answers
1k views
Fivenum and a little bit
(a paradox, a paradox, a most ingenious paradox) This is the first part of a multipart series inspired by different R functions. The Task Given a dataset \$D\$ of positive integers, I need you to ...
12 votes
8 answers
1k views
Iterative Quine
Create a program which prints itself, followed by an additional program. This additional program should print the first program, itself, and then a third program. This continues until the nth program, ...
8 votes
9 answers
1k views
Selective Caesar Cipher
Input A string of text. Output The string of text, however, every consonant is the next consonant in the alphabet, and every vowel is the next vowel in the alphabet (z becomes b, u becomes a). The ...
12 votes
9 answers
850 views
Mimic the X11 Primary selection
Background In X11 (a windowing system used by a lot of Unix-like OS), what you would call the clipboard behave a bit differently than on other OSes like MacOS or Windows. While the "traditional&...