2022 Developer Survey is open! Take survey.

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

13 votes
23 answers
385 views

Reverse hex cipher

24 votes
30 answers
2k views

Eh, codegolf shmodegolf

14 votes
16 answers
760 views

Divisible subset sums

15 votes
24 answers
3k views

Generate All 8 Knight's Moves

22 votes
26 answers
2k views

Smallest subset of characters required for Turing Completeness

18 votes
12 answers
1k views

In between fractions

11 votes
8 answers
821 views

Can a run ascending list be made?

8 votes
13 answers
2k views

Robbers: Smallest subset of characters required for Turing Completeness

13 votes
10 answers
2k views

I want 8 bits for every character!

12 votes
15 answers
5k views

LOOOOONG TEEEEEXT

6 votes
24 answers
2k views

Find the nth Fibonacci number, where n is the mth Fibonacci number

16 votes
23 answers
2k views
+200

Crossing a Lily Pond

14 votes
23 answers
2k views

There's more than one way to skin a set

15 votes
19 answers
2k views

Apartment Building

16 votes
25 answers
1k views

Alternating sums of multidimensional arrays

14 votes
13 answers
698 views

Find the dimensions of a ragged list

20 votes
13 answers
2k views

Bitwise XOR of floats

73 votes
53 answers
11k views

Draw the Ukrainian Flag

21 votes
16 answers
4k views

Who needs 8 bits for one character?

26 votes
28 answers
2k views

Derivative of a product

13 votes
9 answers
2k views

Magic: the Gathering - Colour Sorting

12 votes
9 answers
326 views

Convert Alpha-2 to Alpha-3

15 votes
25 answers
1k views

Implement the Conjunction of a Three-Valued Logic

12 votes
8 answers
748 views

Count the Liberties - Advanced

29 votes
28 answers
3k views

Collatz Encoding

10 votes
13 answers
1k views

Draw the Archimedean Spiral

4 votes
18 answers
2k views

Palindromic Powers

498 votes
913 answers
171k views

"Hello, World!"

6 votes
2 answers
192 views

Solve the Zany car game

6 votes
1 answer
251 views

Irradiated Polyglots

20 votes
8 answers
2k views

ASCII-Art n'th Root

10 votes
15 answers
312 views

center a matrix [closed]

27 votes
5 answers
3k views

Haplololololololology!

18 votes
6 answers
2k views

Matrix Meets ASCII Art

26 votes
28 answers
3k views

What's the Missing Code? (Cops)

16 votes
18 answers
4k views

How long is it in Roman

19 votes
8 answers
2k views

Convert Alpha-3 to Alpha-2

14 votes
22 answers
2k views

Shift a string gradually

8 votes
6 answers
228 views

Random Pixels Image Compression

14 votes
10 answers
1k views

Storing a band matrix

23 votes
20 answers
4k views

Is this expression Python 2/3 safe?

12 votes
17 answers
2k views

Infinite Candle Sequence

15 votes
7 answers
1k views

Euler characteristic of a binary matrix

-1 votes
0 answers
91 views

Find the Lowest Allowable Integer Which is an Optimal Even-Harmonic of the Values in a List [closed]

21 votes
16 answers
1k views

Get the trends of an array

1 vote
1 answer
198 views

King of the Cards

16 votes
23 answers
1k views

Pair my brackets

18 votes
17 answers
3k views

Convert angle to clock time


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