Linked Questions
24 questions linked to/from Tips for golfing in Jelly
460
votes
810answers
147k views
“Hello, World!”
So... uh... this is a bit embarrassing. But we don't have a plain "Hello, World!" challenge yet (despite having 35 variants tagged with hello-world, and counting). While this is not the most ...
525
votes
235answers
119k views
Showcase of Languages
Notes
This thread is open and unlocked only because the community decided to make an exception. Please do not use this question as evidence that you can ask similar questions here. Please do not ...
86
votes
60answers
21k 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 ...
78
votes
65answers
18k 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. - ...
94
votes
34answers
7k views
Would this string work as string?
Write a program that takes a single line string that you can assume will only contain the characters /\_‾. (That's forward and backward slash, underline and ...
67
votes
28answers
5k views
Is the checkbox not not unchecked?
Doing code review, I stumbled upon the following code, that tests the status of a checkbox:
if (!isNotUnchecked()) { ... }
I had to brainstorm for 30 minutes to ...
28
votes
69answers
4k views
Is it an Odd Word?
Challenge
Given a single word as input, determine if the word is odd or even.
Odd and Even words
Assume the general rules:
...
32
votes
49answers
5k views
Write a program to elasticize strings
Nice verb there, in the title.
Write a program that given an input string, will "elasticize" this string and output the result. Elasticizing a string is done as follows:
The first character is shown ...
42
votes
41answers
3k views
A Programming Puzzle of Mode Golf
Your task is to print the text Good morning, Green orb!, with every character repeated in place as many times as the most frequent byte in your source (the mode). ...
25
votes
35answers
3k views
Convert a string of digits from words to an integer
Convert a string containing digits as words into an integer, ignoring leading zeros.
Examples
"four two" -> 42.
...
32
votes
23answers
4k views
Cat, Quine, Hello World
Write a cat program, a quine, and a Hello World in the same language such that when two specific programs of the three are concatenated in a certain order, you get the third program. It does not ...
32
votes
20answers
2k views
Figure and Ground
Source: Wikipedia
For this challenge, you should write two programs which resemble the figure and ground of the above image, such that one of them prints figure ...
29
votes
14answers
3k views
Put together a Senate majority
There are one hundred members of the United States Senate. Assuming that nobody filibusters and that the Vice President isn't cooperating, at least fifty-one members are necessary to pass a bill. But ...
31
votes
9answers
7k views
Build a twisted “Hello world!”
Your job is quite simple, write a program that prints Hello, world!, that when twisted creates a program that prints Twister!.
...
31
votes
15answers
5k views
Let's play Mölkky!
Mölkky
Mölkky is a Finnish throwing game. The players use a wooden pin (also called "mölkky") to try to knock over wooden pins of almost similar dimensions with the throwing pin, marked with ...