/algorithm-training

Self training and practicing everyday.

Primary LanguageTypeScriptApache License 2.0Apache-2.0

algorithm-training

Self training and practicing everyday.

Enthusiastic about solving problems using technologies. https://leetcode.com/trungk18/

Prerequisites

Node.js and npm are essential to run it locally. You also need to install TypeScript.

If you have npm installed, you can install TypeScript globally (-g) on your computer by:

npm install -g typescript

You can test your install by checking the version or help.

tsc --version
tsc --help

Install the npm packages described in the package.json and verify that it works:

npm install

Run

Let say you want to run Skiing in Singapore solution.

tsc
cd "001. Skiing in Singapore"
node app.js

If you are using VS Code, just press F5 and the point to the file you want to run. Then you can debug it as well.

VS Code Debug