Skip to content

mnikander/leetcode_typescript

Repository files navigation

Learning TypeScript

A collection of leetcode solutions in TypeScript. These are mostly ported from my corresponding JavaScript repository. The emphasis is NOT on efficient solutions, but on learning the basics of TypeScript.

Getting started

Install system dependencies:

sudo apt install nodejs npm

Clone, build, and run:

git clone ...  # this repo
cd leetcode_typescript
npx tsc hello_world.ts    # compile the hello world example
node build/hello_world.js # run the hello world example
npm test                  # execute unit tests
npm test -- --coverage    # check the test coverage

Learning resources

About

Learning TypeScript via leetcode exercises

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published