Skip to content

Commit a27c291

Browse files
committed
Update: README.md for including general information on how to use this repo
1 parent b9f3f55 commit a27c291

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,25 @@
11
# Leetcode 75 Notes
2+
Exercises taken from the Leetcode 75 interview problem compilation. Each exercise folder has the
3+
following files:
4+
```sh
5+
$ tree 283-move-zeroes
6+
283-move-zeroes # Exercise name
7+
├── index.js # Solution implementation
8+
├── package.json # Contains execution scripts
9+
├── README.md # Problem description
10+
└── test.js # Test cases implementation
11+
12+
```
213

314
## `package.json` scripts
15+
You can use the following scripts on each exercise:
416
```json
517
{
618
// ...
719
"scripts": {
8-
"start": "node index.js",
9-
"debug": "node --inspect-brk index.js",
10-
"test": "node test.js"
20+
"start": "node index.js", // Starts the program
21+
"debug": "node --inspect-brk index.js", // Starts the program in debug mode
22+
"test": "node test.js" // Run the test suite for this exercise
1123
},
1224
// ...
1325
}

0 commit comments

Comments
 (0)