Giter Club home page Giter Club logo

leetcodets's Introduction

LeetCodeTS ๐Ÿš€

Solutions to the top 150 LeetCode interview questions implemented in TypeScript.

Table of Contents

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 TypeScript, ts-node, and Node.js installed on your machine. You can install them by following these steps:

  1. Install Node.js: Visit the official Node.js website (https://nodejs.org) and download the latest stable version for your operating system. Follow the installation instructions provided.

  2. Install TypeScript and ts-node: Open a terminal or command prompt and run the following commands to install TypeScript and ts-node globally:

    npm install -g typescript
    npm install -g ts-node
  3. Clone the repository: Use the following command to clone this repository to your local machine:

    git clone https://github.com/your-username/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 appropriate folder.

  3. You can run a specific solution by executing the following command:

    ts-node name-of-problem.ts

    Replace name-of-problem.ts with the actual name of the TypeScript file containing the solution you want to run.

  4. 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 programs, 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.

leetcodets's People

Contributors

gabrielpalassi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.