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

Explore our Questions

24 votes
30 answers
2k views

Eh, codegolf shmodegolf

284 votes
73 answers
77k views

We're no strangers to code golf, you know the rules, and so do I

15 votes
19 answers
2k views

Apartment Building

13 votes
23 answers
429 views

Reverse hex cipher

20 votes
29 answers
4k views

Download a file from the Internet

2 votes
14 answers
2k views

Traverse a directory tree and output a list of all files

15 votes
16 answers
769 views

Divisible subset sums

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

21 votes
21 answers
1k views

Is given number a concat of two squares

144 votes
297 answers
37k views

Fibonacci function or sequence

23 votes
28 answers
2k views

Prime Power Switch

18 votes
12 answers
1k views

In between fractions

15 votes
24 answers
3k views

Generate All 8 Knight's Moves

Browse more Questions