1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2024-10-29 22:17:23 +01:00
Programming exercises and challenges to improve your algorithmic logic.
Go to file
2022-09-24 22:17:07 +02:00
.github ci(challenges): remove --ci option 2022-09-22 16:22:25 +02:00
challenges perf: use optimization options for Rust and gcc 2022-09-24 22:17:07 +02:00
cli perf: run tests in parallel 2022-09-22 16:16:21 +02:00
templates perf: use optimization options for Rust and gcc 2022-09-24 22:17:07 +02:00
.commitlintrc.json feat: rewrite programming-challenges CLI (#3) 2021-06-09 20:31:45 +02:00
.editorconfig feat(challenges): add ascii-art 2022-05-01 20:07:35 +02:00
.eslintignore chore: maintenance 2022-02-19 18:30:29 +01:00
.eslintrc.json feat: usage of ESM modules imports (instead of CommonJS) (#14) 2022-04-23 18:41:14 +02:00
.gitattributes chore: maintenance 2022-02-19 18:30:29 +01:00
.gitignore feat: usage of ESM modules imports (instead of CommonJS) (#14) 2022-04-23 18:41:14 +02:00
.gitpod.yml feat(solutions): add offset-arrays/python/function 2021-10-04 10:06:05 +02:00
.markdownlint-cli2.jsonc build(deps): update latest 2022-08-30 13:42:44 +02:00
.npmrc feat: rewrite programming-challenges CLI (#3) 2021-06-09 20:31:45 +02:00
.swcrc build(deps): update latest 2022-08-30 13:42:44 +02:00
.taprc feat: usage of ESM modules imports (instead of CommonJS) (#14) 2022-04-23 18:41:14 +02:00
CODE_OF_CONDUCT.md feat: rewrite programming-challenges CLI (#3) 2021-06-09 20:31:45 +02:00
CONTRIBUTING.md feat(solutions): add offset-arrays/python/function 2021-10-04 10:06:05 +02:00
LICENSE feat: rewrite programming-challenges CLI (#3) 2021-06-09 20:31:45 +02:00
logo.png feat: rewrite programming-challenges CLI (#3) 2021-06-09 20:31:45 +02:00
package-lock.json perf: run tests in parallel 2022-09-22 16:16:21 +02:00
package.json perf: run tests in parallel 2022-09-22 16:16:21 +02:00
README.md feat(cli): add commands/run/solution 2022-08-30 15:48:07 +02:00
tsconfig.json feat: usage of ESM modules imports (instead of CommonJS) (#14) 2022-04-23 18:41:14 +02:00

programming-challenges

Programming exercises and challenges to improve your algorithmic logic.

Licence MIT Contributor Covenant
Conventional Commits
Gitpod ready-to-code

programming-challenges Logo

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

Open in Gitpod

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="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

💡 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