Welcome to my collection of LeetCode solutions written in TypeScript. This repository contains my implementations of various LeetCode problems, organized by difficulty.
This repository is a personal project where I solve LeetCode problems using TypeScript. It serves as a way to practice and improve my problem-solving skills, as well as to provide a reference for others who are interested in TypeScript solutions for LeetCode challenges.
The repository is organized as follows:
leetcode-ts/
│
├── easy/
│ └── *.test.ts # Tests for easy-level problems
├── medium/
│ └── *.test.ts # Tests for medium-level problems
├── hard/
│ └── *.test.ts # Tests for hard-level problems
├── bun.lockb
├── package.json
└── README.md
To set up the project locally, follow these steps:
- Clone the repository:
git clone https://github.com/pragusga25/leetcode-ts.git
- Navigate to the project directory:
cd leetcode-ts
- Install the dependencies using Bun. If you don't have Bun installed, you can install it here:
bun install
You can run the TypeScript tests using the following command:
bun test
Contributions are welcome! If you have a new solution, improvement, or bug fix, please open a pull request. Ensure your code follows the existing structure and includes relevant tests.
This project is licensed under the MIT License. See the LICENSE file for more details.