Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gabrielpalassi/leetcodets
LeetCode Top Inteview 150 solutions in TypeScript.
https://github.com/gabrielpalassi/leetcodets
leetcode leetcode-solutions leetcode-typescript
Last synced: about 1 month ago
JSON representation
LeetCode Top Inteview 150 solutions in TypeScript.
- Host: GitHub
- URL: https://github.com/gabrielpalassi/leetcodets
- Owner: gabrielpalassi
- Created: 2023-11-27T16:33:22.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-09-11T19:27:24.000Z (4 months ago)
- Last Synced: 2024-09-12T04:29:53.073Z (4 months ago)
- Topics: leetcode, leetcode-solutions, leetcode-typescript
- Language: TypeScript
- Homepage:
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🚀 LeetCodeTS
Solutions to the top 150 LeetCode interview questions implemented in TypeScript.
## Table of Contents
- [Introduction](#introduction)
- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)## Introduction
LeetCode is a popular platform for practicing coding skills through solving algorithmic problems. This repository aims to provide TypeScript solutions to the top 150 LeetCode interview questions, helping developers enhance their problem-solving abilities and familiarize themselves with TypeScript.
## Installation
To use the solutions in this repository, you need to have Bun installed on your machine. You can install it by following these steps:
1. Install Bun: Open a terminal or command prompt and run the following command to install Bun:
```bash
curl -fsSL https://bun.sh/install | bash
```2. Clone the repository: Use the following command to clone this repository to your local machine:
```bash
git clone https://github.com/gabrielpalassi/LeetCodeTS.git
```## Usage
Each solution is implemented in a separate TypeScript file. To run a specific solution, follow these steps:
1. Open a terminal or command prompt.
2. Navigate to the root directory of the cloned repository and then to the appropriate folder.
3. You can run a specific solution by executing the following command:
```bash
bun run name-of-problem.ts
```Replace `name-of-problem.ts` with the actual name of the TypeScript file containing the solution you want to run.
> Note: Make sure to add your test cases within the solution file before running it, as the files only contain function implementations.
## Contributing
We welcome contributions to this repository. If you have ideas for new solutions, bug fixes, or improvements, please open an issue or submit a pull request.
If you have any questions, suggestions, or feedback, feel free to reach out to me at my [e-mail](mailto:[email protected]).