File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Learning TypeScript
1+ # Leetcode
22
3- A collection of leetcode solutions in TypeScript .
4- These are mostly ported from my corresponding JavaScript repository .
5- The emphasis is NOT on efficient solutions, but on learning the basics of TypeScript .
3+ A collection of leetcode solutions written in several programming languages .
4+ Each folder contains its own readme with instructions how to build and execute the code .
5+ For the most part, the focus is on learning new languages or programming techniques, rather than on finding the fastest possible solution .
66
7- ## Getting started
8-
9- Install system dependencies:
10- ``` bash
11- sudo apt install nodejs npm
12- ```
13-
14- Clone, build, and run:
15- ``` bash
16- git clone ... # this repo
17- cd leetcode_typescript
18- npx tsc hello_world.ts # compile the hello world example
19- node build/hello_world.js # run the hello world example
20- npm test # execute unit tests
21- npm test -- --coverage # check the test coverage
22- ```
23-
24- ## Learning resources
25- - [ W3 schools TypeScript tutorial] ( https://www.w3schools.com/typescript/index.php )
Original file line number Diff line number Diff line change 1+ # Learning TypeScript
2+
3+ A collection of leetcode solutions in TypeScript.
4+ These are mostly ported from my corresponding JavaScript repository.
5+ The emphasis is NOT on efficient solutions, but on learning the basics of TypeScript.
6+
7+ ## Getting started
8+
9+ Install system dependencies:
10+ ``` bash
11+ sudo apt install nodejs npm
12+ ```
13+
14+ Clone, build, and run:
15+ ``` bash
16+ git clone ... # this repo
17+ cd leetcode_typescript
18+ npx tsc hello_world.ts # compile the hello world example
19+ node build/hello_world.js # run the hello world example
20+ npm test # execute unit tests
21+ npm test -- --coverage # check the test coverage
22+ ```
23+
24+ ## Learning resources
25+ - [ W3 schools TypeScript tutorial] ( https://www.w3schools.com/typescript/index.php )
You can’t perform that action at this time.
0 commit comments