Welcome! This repository is a community-driven collection of solutions to programming challenges from code.golf. The goal is to collaboratively solve problems using the shortest possible code in any language.
- This repo is open to everyone interested in code golf.
- We aim to reach #1 on each challenge leaderboard together.
- Solutions are written in a variety of languages, optimized for brevity.
- All are welcome to contribute, improve, and discuss solutions.
If you want to attempt these challenges yourself, do not look at the answers here as they may spoil the fun and learning experience.
- Visit code.golf and pick a challenge.
- Try to solve it in your favorite language.
- Compare your solution with those in this repository (after you've tried!).
- If you find a shorter or alternative solution, please contribute!
We encourage contributions from everyone! If you have a shorter, alternative, or more creative solution, or want to improve documentation, feel free to:
- Fork this repository.
- Add your solution or improve an existing one.
- Open a pull request with a clear description of your changes.
- Join the discussion and help others improve their code.
This project is open source and available under the MIT License.
Originally forked from Heathcorp (Heath Manning). The original repository was made private.