Skip to content

hossamMohamed00/LeetCode

Repository files navigation

LeetCode Submissions

Here is all my submissions for LeetCode challenges.

Languages

  • Typescript (most of it)
  • Javascript

Run Typescript Solutions

1. Install packages

npm i -g typescript
npm - -g @types/node
npm i -g ts-node

2. Run files

Navigate to /[Problem Name]/Typescript/
Then run the ts file using ts-node

ts-node {file name}

Run Javascript Solutions

Navigate to /[Problem Name]/Javascript/
Just run them using node terminal like this

node {file name}