Skip to content

Commit bdd8791

Browse files
committed
write a top-level README for the repository
1 parent 042e3da commit bdd8791

2 files changed

Lines changed: 29 additions & 23 deletions

File tree

README.md

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,6 @@
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)

typescript/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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)

0 commit comments

Comments
 (0)