Here is all my submissions for LeetCode challenges.
- Typescript (most of it)
- Javascript
npm i -g typescript
npm - -g @types/node
npm i -g ts-node
Navigate to /[Problem Name]/Typescript/
Then run the ts file using ts-node
ts-node {file name}
Navigate to /[Problem Name]/Javascript/
Just run them using node terminal like this
node {file name}