Code Golf Stack Exchange is a question and answer site for programming puzzle enthusiasts and code golfers. It only takes a minute to sign up.

Sign up to join this community
Anybody can ask a question
Anybody can answer
The best answers are voted up and rise to the top

Top Questions

46 votes
58 answers
9k views

Shift right by half a bit

10 votes
9 answers
488 views

Sort musical pitches

9 votes
6 answers
489 views

80% of respondents agreed…

22 votes
15 answers
2k views

Sort useless characters

30 votes
44 answers
3k views

Transpile ;# into your language

73 votes
187 answers
9k views

Output your Score!

23 votes
29 answers
2k views

Get the Systematic Chemical Symbol

12 votes
11 answers
1k views

Ungolf the Wind

16 votes
32 answers
2k views
+200

Even or odd: three player

15 votes
9 answers
2k views

Write a Web server quine

2 votes
3 answers
698 views

Golf an HQ9+ transpiler

25 votes
36 answers
3k views

Randomly capitalize half of a string

10 votes
3 answers
509 views

Write the date in abbreviated Latin

53 votes
67 answers
7k views

Multiplicative persistence

16 votes
19 answers
2k views

Just another traffic jam!

1 vote
16 answers
2k views

Drawing the Stack Overflow logo

23 votes
51 answers
2k views

Code point sum quine

4 votes
3 answers
793 views

Shortest C code to display argv in-order

57 votes
59 answers
6k views
+200

Count without 3

63 votes
83 answers
10k views

A "cheating" quine

16 votes
8 answers
878 views

One-dimensional map colouring

18 votes
34 answers
2k views

Rudin-Shapiro sequence

15 votes
16 answers
2k views

Extract a string from a given string

57 votes
82 answers
12k views

Play the "bzzt" game

32 votes
21 answers
3k views

How-many-bonacci-like is this sequence?

153 votes
82 answers
23k views

Fewest (distinct) characters for Turing Completeness

86 votes
221 answers
16k views

Count up forever

90 votes
212 answers
21k views

Find the Factorial!

242 votes
450 answers
63k views

Golf you a quine for great good!

15 votes
16 answers
4k views

Which skill to train?

12 votes
19 answers
1k views

Percentage of work days in a month

27 votes
19 answers
3k views

Create Bernard from Desmos

-3 votes
4 answers
201 views

Answer a Loaded Question (with Lojban!) [closed]

1 vote
0 answers
128 views

Produce a secure block cipher round function (1 bit round key; 7 bit message)

172 votes
489 answers
35k views

Implement a Truth-Machine

30 votes
11 answers
1k views

Abstract Rewriting Challenge (Cops)

9 votes
6 answers
1k views

Abstract Rewriting Challenge (Robbers)

-1 votes
21 answers
841 views

How Many Paint Tins Do I Need?

27 votes
6 answers
4k views

Flappy Bird Clones :)

12 votes
28 answers
2k views

How many times will you have to golf a quine?

39 votes
122 answers
5k views

Lolololololololololololol

5 votes
10 answers
1k views

Write a program that prints a program that's almost quine

94 votes
173 answers
16k views

Print a Tabula Recta!

16 votes
10 answers
2k views

How many light changes will a 7-segment display need?

7 votes
1 answer
247 views

Tips for Golfing in Vyxal 3

4 votes
1 answer
177 views

Convert real numbers between factoradic and positive integer bases

27 votes
72 answers
6k views

Minimum excluded number


Looking for more? Browse the complete list of questions, or popular tags. Help us answer unanswered questions.