Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/satelllte/problem-solving

Solutions of some problems available online (for example, on LeetCode)
https://github.com/satelllte/problem-solving

leetcode leetcode-solutions problem-solving typescript

Last synced: 17 days ago
JSON representation

Solutions of some problems available online (for example, on LeetCode)

Awesome Lists containing this project

README

        

# Problem Solving

Solutions of some problems available online (for example, on [LeetCode](https://leetcode.com/problemset/all/)).

[![CI](https://github.com/satelllte/problem-solving/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/satelllte/problem-solving/actions/workflows/ci.yml?query=branch:main)

## Open in Online Code Editor

### [GitHub Codespaces](https://github.com/features/codespaces)

[![Open in Remote - Containers](https://img.shields.io/static/v1?label=Remote%20-%20Containers&message=Open&color=blue&logo=visualstudiocode)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/satelllte/problem-solving)

## Prerequisites

- [NodeJS](https://nodejs.org/) v16

Install dependencies:

```bash
npm install
```

## Testing

Types:

```bash
npm run test:types
```

Units:

```bash
npm run test:units
```

Types (watch mode):

```bash
npm run test:types:watch
```

Units (watch mode):

```bash
npm run test:units:watch
```

## Problems

| Vendor | Name | Solution |
|---|---|---|
| [LeetCode](https://leetcode.com/) | [1. Two Sum](https://leetcode.com/problems/two-sum/) | [src/problems/leetcode/0001-two-sum](src/problems/leetcode/0001-two-sum) |
| [LeetCode](https://leetcode.com/) | [17. Letter Combinations of a Phone Number](https://leetcode.com/problems/letter-combinations-of-a-phone-number/) | [src/problems/leetcode/0017-letter-combinations-of-a-phone-number](src/problems/leetcode/0017-letter-combinations-of-a-phone-number) |
| [LeetCode](https://leetcode.com/) | [56. Merge Intervals](https://leetcode.com/problems/merge-intervals/) | [src/problems/leetcode/0056-merge-intervals](src/problems/leetcode/0056-merge-intervals) |
| [LeetCode](https://leetcode.com/) | [57. Insert Interval](https://leetcode.com/problems/insert-interval/) | [src/problems/leetcode/0057-insert-interval](src/problems/leetcode/0057-insert-interval) |
| [LeetCode](https://leetcode.com/) | [344. Reverse String](https://leetcode.com/problems/reverse-string/) | [src/problems/leetcode/0344-reverse-string](src/problems/leetcode/0344-reverse-string) |
| [LeetCode](https://leetcode.com/) | [1689. Partitioning Into Minimum Number Of Deci-Binary Numbers](https://leetcode.com/problems/partitioning-into-minimum-number-of-deci-binary-numbers/) | [src/problems/leetcode/1689-partitioning-into-minimum-number-of-deci-binary-numbers](src/problems/leetcode/1689-partitioning-into-minimum-number-of-deci-binary-numbers) |
| Other | Display Number | [src/problems/other/display-number](src/problems/other/display-number) |