As of May 31, 2023, we have updated our Code of Conduct.

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

Explore our questions

17 votes
50 answers
3k views

Cartesian product of two lists

9 votes
7 answers
259 views

Adjacent Items Sorting

22 votes
20 answers
2k views

Calculate Euclidean distance on a torus

25 votes
32 answers
2k views

AGM Series Hole 1: Calculate the Arithmetic–Geometric Mean

16 votes
17 answers
1k views

Logarithmic Incrementation

11 votes
8 answers
2k views

Build a typing speed test / measuring CPM

27 votes
5 answers
12k views

Flag mashup generator

135 votes
139 answers
43k views

Obfuscated Hello World

89 votes
104 answers
14k views

Hello World 0.0!

21 votes
6 answers
831 views

How many sorting networks?

512 votes
954 answers
183k views

"Hello, World!"

46 votes
82 answers
5k views

The shortest way to find one unique value when all other values are the same

170 votes
475 answers
34k views

Implement a Truth-Machine

21 votes
58 answers
3k views

RGB to hexadecimal

Browse more Questions