We’re rewarding the question askers & reputations are being recalculated! Read more.

A code challenge is a competition for creative ways to solve a programming puzzle with an objective winning criterion not covered by other scoring tags (e.g. code-golf).

What is a code challenge?

A is a competition for creative ways to solve a programming puzzle with an objective winning criterion not covered by other tags (which can be found here). Generally, a should have some form of quantifiable scoring criteria.

What makes a good code challenge?

Many of the guidelines for code golfs are equally relevant to code challenges. The most common problem specific to a code challenge is that its winning criterion is highly subjective (i.e. each answer is equally valid) or that multiple, conflicting winning criteria exist. If you are unsure, first propose your challenge on Meta to get helpful feedback for improvement before you post it here.

Good examples of keeping subjectivity to a minimum:

  • Lorem Ipsum Compressor – provided the input is fully specified, compression ratio is an objective criterion. This challenge used a specific random text generator.
history | excerpt history