mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2024-12-08 00:45:29 +01:00
Programming exercises and challenges to improve your algorithmic logic.
.github | ||
challenges | ||
cli | ||
templates | ||
.commitlintrc.json | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.json | ||
.gitattributes | ||
.gitignore | ||
.gitpod.yml | ||
.markdownlint-cli2.jsonc | ||
.npmrc | ||
.swcrc | ||
.taprc | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
logo.png | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json |
programming-challenges
Programming exercises and challenges to improve your algorithmic logic.
📜 About
programming-challenges brings together lots of programming exercises and challenges to improve your algorithmic logic.
Each challenge has its solutions, its instructions and input/output examples so you can try to solve them on your own. See challenges folder.
✅ Programming languages available
🚀 Getting Started
☁️ Try with a Single-Click
Gitpod will automatically setup an environment for you.
Locally
Prerequisites
Installation
# Clone the repository
git clone https://github.com/Divlo/programming-challenges.git
# Go to the project root
cd programming-challenges
# Install dependencies
npm install
# Build the Command Line Interface (CLI)
npm run build
# Install the `programming-challenges` Command Line Interface (CLI)
npm install --global
Usage
# Discover all the commands availables
programming-challenges --help
# Generate a new challenge
programming-challenges generate challenge --github-user="YourGitHubName" --challenge="challenge-name"
# Generate a new solution
programming-challenges generate solution --github-user="YourGitHubName" --challenge="challenge-name" --solution="function" --language="python"
# Test a solution
programming-challenges run test --challenge="challenge-name" --solution="function" --language="python"
💡 Contributing
Anyone can help to improve the project, submit a challenge, a solution or even correct a simple spelling mistake.
The steps to contribute can be found in the CONTRIBUTING.md file.