1
1
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.
Go to file
2024-11-18 08:05:00 +01:00
.github ci: fix tests 2024-11-18 01:37:42 +01:00
challenges feat(solutions): add valid-parentheses/javascript/function 2024-11-18 01:19:24 +01:00
cli fix(cli): correctly set test isSuccess false 2024-11-18 08:05:00 +01:00
templates ci: fix tests 2024-11-18 01:37:42 +01:00
.editorconfig build(deps): update latest 2022-12-30 00:55:21 +01:00
.gitattributes chore: maintenance 2022-02-19 18:30:29 +01:00
.gitignore build(deps): update latest 2022-12-30 00:55:21 +01:00
.gitpod.yml chore: better Prettier config for easier reviews 2023-10-23 23:16:24 +02:00
.markdownlint-cli2.jsonc chore: cleaner configs 2024-01-30 01:21:19 +01:00
.npmrc build(deps): update latest 2024-11-18 01:04:51 +01:00
.prettierrc.json ci: fix tests 2024-11-18 01:37:42 +01:00
.swcrc build(deps): update latest 2023-09-16 14:38:47 +02:00
CODE_OF_CONDUCT.md fix: update author - Théo LUDWIG 2023-07-02 17:28:54 +02:00
CONTRIBUTING.md refactor(cli): usage of node:test instead of tap 2023-07-20 22:00:11 +02:00
eslint.config.js ci: fix tests 2024-11-18 01:37:42 +01:00
LICENSE docs(license): add email address 2024-01-29 21:51:59 +01:00
logo.png feat: rewrite programming-challenges CLI (#3) 2021-06-09 20:31:45 +02:00
package-lock.json ci: fix tests 2024-11-18 01:37:42 +01:00
package.json ci: fix tests 2024-11-18 01:37:42 +01:00
README.md build(deps): update latest 2024-11-18 01:04:51 +01:00
tsconfig.json ci: fix tests 2024-11-18 01:37:42 +01:00

programming-challenges

Programming exercises and challenges to improve your algorithmic logic.

CONTRIBUTING Licence MIT Contributor Covenant
CLI Challenges Conventional Commits
Gitpod ready-to-code

programming-challenges Logo

📜 About

programming-challenges brings 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 Challenges - Blog Post.

Programming languages available

🚀 Getting Started

☁️ Try with a Single-Click

Gitpod will automatically setup an environment for you.

Open in Gitpod

Locally

Prerequisites

Installation

# Clone the repository
git clone git@github.com:theoludwig/programming-challenges.git

# Go to the project root
cd programming-challenges

# Install dependencies
npm clean-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="hello-world"

# Generate a new solution
programming-challenges generate solution --github-user="YourGitHubName" --challenge="hello-world" --solution="function" --language="python"

# Test a solution
programming-challenges run test --challenge="hello-world" --solution="function" --language="python"

# Run a solution with specific `input.txt` file
programming-challenges run solution --challenge="hello-world" --solution="function" --language="python" --input-path="./challenges/hello-world/test/1/input.txt" --output

# Search for a challenge not yet solved in a specific programming language
programming-challenges search --language="rust"

💡 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.

📄 License

MIT