Typescript examples resolving LeetCode or HackerRank exercises
- Algorithms
- LeetCode
- Algorithms
- HackerRank
- Real code interviews
Install dependencies to run all commands:
npm i
In order to check the source code of the exercises, you can use the following command:
npm tests
You could add a new exercise with him test only follow the same pattern:
myNewExerciseFile.ts // Exercise source code
myNewExerciseFile.test.ts // Exercise test code
In order to write your source code while test are running you could run:
npm run test:watch