This repository contains solutions to LeetCode problems in TypeScript
To get a local copy up and running follow these steps.
- Node.js (currently using v18.16.1)
-
Clone the repo
git clone https://github.com/sscraigie/leetCode.git
-
Install packages
npm install
You can write your code within the index.ts
file or archive you're solutions in the src
directory.
To run index.ts:
npm run test index
To run a specific file:
npn run test <file name>