Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. 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

22 votes
29 answers
2k views

Previous Fibonacci number

34 votes
23 answers
3k views

Check membership of an infinite list

18 votes
15 answers
3k views

Draw an ASCII pencil

58 votes
76 answers
11k views

How even is a number?

24 votes
34 answers
16k views

Letters in phone numbers

43 votes
41 answers
12k views

Fibonacci reversed!

14 votes
10 answers
722 views

Straighten my corners... diagonally

6 votes
24 answers
2k views

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

17 votes
25 answers
3k views

Generate All 8 Knight's Moves

29 votes
32 answers
4k views

Eh, codegolf shmodegolf

16 votes
21 answers
2k views

Apartment Building

14 votes
25 answers
1k views

Reverse hex cipher

8 votes
2 answers
235 views

How related are two relatives?

5 votes
1 answer
103 views

Find run ascending lists faster

Browse more Questions