Tell me more ×
Programming Puzzles & Code Golf Stack Exchange is a question and answer site for programming puzzle enthusiasts and code golfers. It's 100% free, no registration required.

I thought it would be a good idea to start up a community wiki page of our favourite code-golf questions

Here are a couple of mine to start off

Decision Tree - my first ever SO code-golf, and my first ever perl program
Lasers I was astonished at how tiny the answers to this seemingly complicate question could be

share|improve this question
I'd prefer to see this question CW. On SO I'd be out to kill it, but this is a more casual place. – dmckee Feb 4 '11 at 19:11
@dmckee, I think it should be CW too, I even said so in the first line, but I got distracted before flagging it. I've flagged it now. – gnibbler Feb 5 '11 at 23:03
2  
Shouldn't this be on meta? – Peter Taylor Feb 27 '11 at 21:36

3 Answers

up vote 6 down vote accepted

I think Word Frequency Chart is one my my favorites. Took quite a while to golf and many solutions are wrong and against the spec. But still, it was fun.

On this site, questions I particularly enjoyed were Forecast the weather, Assembly Language Quine, and Guess the number..

share|improve this answer

Must say, most of the time I enjoyed reading the answers more than anything else - and that goes for any question in all honesty. The fact is I just don't have the time (when I read the question) to make a proper attempt, and therefore don't, thinking I'll do it later - but then forget.

So yea, from my side, any CG is great.

share|improve this answer

I think my favorite is writing Brainfuck code executor from here http://codegolf.com/brainfuck

It was more interesting and challenging than simply write very short Brainfuck interepreter - because there is also a performance requirement - if the samples don't run in the alloted time, the submission is judged failed. So after initially going with an interpreter, I had to write a "compiler" instead that generated executable code (it generated Python code in my case) and then run it!

And then of course, one has to shorten it to move up in the leaderboard :)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.