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

39 votes
23 answers
5k views

Tut-tut-tut-tut-tut

50 votes
10 answers
9k views

When will the DVD logo hit the corner?

26 votes
12 answers
5k views

Was it a King or a Queen or neither?

22 votes
18 answers
3k views

Live a longer life

15 votes
28 answers
2k views

Calculating Pi using the Gregory Leibniz series until n terms

14 votes
17 answers
2k views

Compute GPA for a set of grades

20 votes
12 answers
2k views

Reconstruct Matrix from its diagonals

34 votes
10 answers
2k views

Re-name all identifiers to a single letter

25 votes
14 answers
3k views

Print every Fool's Mate

21 votes
15 answers
2k views

Polyglot Quiz (Cops' thread)

20 votes
16 answers
2k views

Calculate Pi unto a point using the Nilakantha series

17 votes
11 answers
3k views

Fibonacci word fractal

19 votes
9 answers
1k views

Is This an Equivalence Relation?

23 votes
5 answers
3k views

Write a program with the smallest width

16 votes
14 answers
1k views

Persistence of a number

11 votes
18 answers
476 views

Count the number of compositions of \$n\$ in which the greatest part is odd

11 votes
14 answers
2k views

Advanced Binary Number System

11 votes
18 answers
1k views

Find the nth Mersenne Prime

15 votes
14 answers
4k views

The "Fly straight, dammit" sequence

10 votes
16 answers
694 views

Sum of partition numbers

16 votes
11 answers
2k views

Numbers vs. Strings: Language fitness challenge

16 votes
11 answers
1k views

Carryless factors

15 votes
9 answers
880 views

Create a nibble shorthand

9 votes
17 answers
1k views

It's Just Rocket Science

14 votes
10 answers
1k views

IMO Question Six with a difference

6 votes
13 answers
1k views

Number of ways to make an amount with coins

15 votes
5 answers
831 views

Detect round trips on a dodecahedron

8 votes
9 answers
1k views

Selective Caesar Cipher

9 votes
9 answers
1k views

Polyglot Quiz (Robbers' thread)

11 votes
13 answers
235 views

Cut along the lines

8 votes
3 answers
1k views

The smallest number of steps for a chess piece to reach a position

21 votes
5 answers
604 views

Does there exist a synchronizing word?

11 votes
4 answers
681 views

Compute the Fabius Function

5 votes
4 answers
508 views

Strategy: The cunning cousin witch

12 votes
2 answers
715 views

Solving an easy Sudoku in increasing digit order

7 votes
4 answers
170 views

Find The Real Solutions of a Cubic

10 votes
1 answer
236 views

Optimally pop all the bubbles

-1 votes
3 answers
186 views

Make a Brainfuck Interpreter [duplicate]

3 votes
3 answers
294 views

Sudoku Solver Diagonal Constraint

7 votes
1 answer
166 views

Need some feedback with PHP+C polyglot code and class/struct properties [closed]

0 votes
1 answer
388 views
+50

A multidimensional strategy challenge

8 votes
1 answer
293 views

Solve a jigsaw puzzle

7 votes
0 answers
230 views

Turing Machine that outputs pi

2 votes
0 answers
180 views

Shorten this dns txt record request script as much as possible

-2 votes
3 answers
156 views

Find the GCD and LCM of a list of numbers [duplicate]

-2 votes
0 answers
130 views

How many undisrupted rectangles are there in the given figure? [closed]

0 votes
0 answers
85 views

shortest runtime bytecode question [duplicate]

-1 votes
0 answers
15 views

How to generate drawing exchange format file dxf [closed]


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