https://github.com/dennisbyberg/codewars-solutions
A collection of my CodeWars solutions implemented in TypeScript, JavaScript, C#, and Python. Each solution includes language‑specific implementations and full test coverage using Vitest, xUnit, and pytest.
https://github.com/dennisbyberg/codewars-solutions
codewars-solutions csharp javascript python typescript
Last synced: about 2 months ago
JSON representation
A collection of my CodeWars solutions implemented in TypeScript, JavaScript, C#, and Python. Each solution includes language‑specific implementations and full test coverage using Vitest, xUnit, and pytest.
- Host: GitHub
- URL: https://github.com/dennisbyberg/codewars-solutions
- Owner: DennisByberg
- License: mit
- Created: 2024-05-09T21:14:49.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2026-02-03T21:06:36.000Z (5 months ago)
- Last Synced: 2026-02-04T03:42:41.972Z (5 months ago)
- Topics: codewars-solutions, csharp, javascript, python, typescript
- Language: TypeScript
- Homepage: https://www.codewars.com/users/Dennis%20Byberg
- Size: 104 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CodeWars Solutions
This repository contains my solutions to various CodeWars problems implemented in multiple programming languages.
## Languages Supported
- TypeScript
- JavaScript
- C#
- Python
## Project Structure
```
Solutions/
{Problem_Name}/
TS/
solution.ts
solution.test.ts
JS/
solution.js
solution.test.js
CS/
Solution.cs
SolutionTests.cs
PY/
solution.py
solution_test.py
```
## Running Tests
**Important:** All commands must be run from the root directory (`codeWars-solutions/`)
#### JavaScript/TypeScript Tests
```bash
npm test
```
#### C# Tests
```bash
dotnet test --filter "FullyQualifiedName~Solutions.{FOLDER_NAME}.CS"
```
#### Python Tests
```bash
pytest
```
## Setup
### Prerequisites
- Node.js (for JavaScript/TypeScript)
- .NET 9.0 SDK (for C#)
- Python 3.x (for Python)
### Installation
1. Clone the repository
2. **Navigate to the project root:**
```bash
cd codeWars-solutions
```
3. Install JavaScript/TypeScript dependencies:
```bash
npm install
```
4. Restore C# packages:
```bash
dotnet restore
```