Linked Questions
465 questions linked to/from Tips for golfing in 05AB1E
618
votes
320
answers
237k
views
Produce the number 2014 without any numbers in your source code
Note to challenge writers as per meta consensus:
This question was well-received when it was posted, but challenges
like this, asking answerers to Do X without using
Y
are likely to be poorly received....
393
votes
49
answers
58k
views
Covfefify a string
In this challenge, you must take a string matching the regex ^[a-zA-Z]+$ or whatever is reasonable (you don't have to consider uppercase or lowercase letters if you ...
77
votes
167
answers
11k
views
Diagonal Alphabet
Given no input, your task is to generate the following:
...
57
votes
169
answers
17k
views
Output programming language name
Challenge:
In the programming language of your choice, take no input and output your programming language's name.
Fair enough, right?
Restrictions:
You can't use any character that is included in ...
65
votes
125
answers
17k
views
Duck, duck, goose!
Remember the kids game, 'Duck, Duck, Goose'? No? Me neither.
The challenge
Print the word 'duck' on individual lines an indeterminate amount of times.
Print the word 'goose'.
Your program ends.
The ...
75
votes
118
answers
9k
views
Make an alphabet searchlight!
Inspired by a bug in a solution to this challenge, your challenge is to produce this exact text:
...
62
votes
111
answers
16k
views
Goodbye Cruel World!
Background
Hello golfers! I would like to learn all the programming languages! But I kinda have a short attention span... and copying all the Hello World examples gets boring... but I like fire! ^w^
...
88
votes
61
answers
23k
views
Shut down the computer!
Challenge:
In the programming language of your choice, shut down the machine that your code was executed on.
Rules
No shutting down by resource exhaustion (e.g.: forkbomb to force shutdown)
You are ...
87
votes
64
answers
8k
views
From Programming Puzzles to Code Golf
Your task is to write a program that outputs the exact string Programming Puzzles (trailing newline optional), but when all spaces, tabs, and newlines are removed ...
99
votes
54
answers
18k
views
Sleep for 1000 years
Some sleep commands implement a delay of an integer number of seconds. However, 2³² seconds is only about 100 years. Bug! What if you need a larger delay?
Make a ...
61
votes
91
answers
13k
views
Implement Minceraft
Introduction
The game Minecraft has a 1 in 10000 chance of showing "Minceraft" instead of "Minecraft" on the title screen.
Your challenge
Your challenge is to code a function or ...
183
votes
29
answers
24k
views
Do you want to code a snowman?
Here is a simple ASCII art snowman:
_===_
(.,.)
( : )
( : )
Let's make him some friends. This will be the general pattern for our ASCII art snowpeople:
...
77
votes
66
answers
19k
views
Sing Baby Shark
"Baby Shark" is a children's song about a family of sharks. Having long been popular as a campfire song, it has been popularized since the mid-2000s by social media, online video and radio. - ...
66
votes
60
answers
11k
views
Determine your language's version
Your challenge is to write a polyglot that works in different versions of your language. When run, it will always output the language version.
Rules
Your program should work in at least two versions ...
38
votes
114
answers
5k
views
Numbers by Position
Challenge
Print the numbers:
1
22
333
4444
55555
666666
7777777
88888888
999999999
In that order.
I/O
Takes no input. The numbers can have any delimiters desired (...