Top "Code-golf" questions

Code Golf is a game that was played on Stack Overflow in its early days, but it is now considered off-topic.

Simple PHP form: Attachment to email (code golf)

Imagine a user that would like to put a form on their website that would allow a website visitor to …

php email email-attachments code-golf mail-form
Code Golf: Numeric equivalent of an Excel column name

The challenge The shortest code by character count that will output the numeric equivalent of an Excel column string. For …

excel code-golf
What's the shortest code to cause a stack overflow?

To commemorate the public launch of Stack Overflow, what's the shortest code to cause a stack overflow? Any language welcome. …

language-agnostic code-golf
Build an ASCII chart of the most commonly used words in a given text

The challenge: Build an ASCII chart of the most commonly used words in a given text. The rules: Only accept …

language-agnostic code-golf
Code Golf - Banner Generation

When thanking someone, you don't want to just send them an e-mail saying "Thanks!", you want to have something FLASHY: …

language-agnostic code-golf rosetta-stone
The Skyline Problem‍​​

I just came across this little problem on UVA's Online Judge and thought, that it may be a good candidate …

code-golf rosetta-stone
Code Golf: Conway's Game of Life

The Challenge: Write the shortest program that implements John H. Conway's Game of Life cellular automaton. [link] EDIT: After about …

language-agnostic code-golf rosetta-stone conways-game-of-life
Ruby read/write to file in 1 line of code

I am kind of a newbie to Ruby, I am working out some katas and I stuck on this silly …

ruby code-golf
Evaluating a string of simple mathematical expressions

Challenge Here is the challenge (of my own invention, though I wouldn't be surprised if it has previously appeared elsewhere …

math parsing code-golf text-parsing infix-notation
Code Golf: Lasers

The challenge The shortest code by character count to input a 2D representation of a board, and output 'true' or …

language-agnostic code-golf rosetta-stone