Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/behzadam/solved

Solved is my code practices and solutions in typescript
https://github.com/behzadam/solved

algorithm algorithms code-challenges data-structures datastructures design-patterns exercism exercism-solutions hackerrank leetcode leetcode-typescript patterns typescript

Last synced: about 1 month ago
JSON representation

Solved is my code practices and solutions in typescript

Awesome Lists containing this project

README

        

# Solved in TypeScript

![GitHub top language](https://img.shields.io/github/languages/top/behzadam/solved)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/b6d0142c6cb448e28ea0dcc88d77b062)](https://app.codacy.com/gh/behzadam/solved/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
![Lines of code](https://img.shields.io/tokei/lines/github/behzadam/solved)
![GitHub](https://img.shields.io/github/license/behzadam/solved)
![GitHub issues](https://img.shields.io/github/issues-raw/behzadam/solved)
![GitHub closed issues](https://img.shields.io/github/issues-closed-raw/behzadam/solved)

## Introduction

This repository contains solutions to some of the most common coding challenges in TypeScript.
You can find the Leetcode solutions with the number of the problem in the title.

### Array

- [Find missing numbers](src/challange/array/find-missing-numbers/find-missing-numbers.ts)
- [Find max subarray](src/challange/array/find-max-subarray/find-max-subarray.ts)
- [Find majority element](src/challange/array/find-majority-element/find-majority-element.ts)
- [Find Largest And Smallest](src/challange/array/find-largest-and-smallest/find-largest-and-smallest.ts)
- [Max profit](src/challange/array/max-profit/max-profit.ts)
- [Move Zeroes](src/challange/array/move-zeroes/move-zeroes.ts)
- [Non-constructible Change](src/challange/array/non-constructible-change/non-constructible-change.ts)

Please note that the repository is still a work in progress, and new algorithms and patterns will be added over time.

## Getting Started

To get started with the repository, follow these simple steps:

Clone the repository to your local machine using the command:

```bash
git clone https://github.com/behzadam/solved.git
```

Install the required dependencies by running the following command:

```bash
pnpm install
```

Run all tests

```bash
pnpm test
```

Format checking

```bash
pnpm format:check
```

Format fixing

```bash
pnpm format:fix
```

Run ESLint

```bash
pnpm lint
```

## License

The "Solved" repository is licensed under the [MIT License](https://opensource.org/licenses/MIT). Feel free to use, modify, and distribute the code.

## Contact

If you have any questions or suggestions regarding the repository, please feel free to [contact me](mailto:[email protected]).