Skip to content

Latest commit

 

History

History
74 lines (51 loc) · 1.93 KB

README.md

File metadata and controls

74 lines (51 loc) · 1.93 KB

LeetCode Solutions in TypeScript

Welcome to my collection of LeetCode solutions written in TypeScript. This repository contains my implementations of various LeetCode problems, organized by difficulty.

Table of Contents

Introduction

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.

Structure

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

Installation

To set up the project locally, follow these steps:

  1. Clone the repository:
git clone https://github.com/pragusga25/leetcode-ts.git
  1. Navigate to the project directory:
cd leetcode-ts
  1. Install the dependencies using Bun. If you don't have Bun installed, you can install it here:
bun install

Usage

You can run the TypeScript tests using the following command:

bun test

Contributing

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.

License

This project is licensed under the MIT License. See the LICENSE file for more details.