Skip to content

LeetCode solutions written in TypeScript, organized by difficulty with tests, using Bun for package management.

License

Notifications You must be signed in to change notification settings

pragusga25/leetcode-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

LeetCode solutions written in TypeScript, organized by difficulty with tests, using Bun for package management.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published