File tree Expand file tree Collapse file tree 4 files changed +4059
-1
lines changed Expand file tree Collapse file tree 4 files changed +4059
-1
lines changed Original file line number Diff line number Diff line change 1+ # Nodejs
2+ /node_modules
Original file line number Diff line number Diff line change 1- # leetcode problem solving repo
1+ # Leetcode problem solution
2+
23Practice problem solving on leetcode
4+
5+ ## Prerequisites
6+
7+ ``` bash
8+ Node.js/npm
9+ jest
10+ ```
11+
12+ ## Installation
13+
14+ ``` bash
15+ git clone https://github.com/soumsps/leetcode.git
16+ npm install
17+ ```
18+
19+ ## How to run the test for solutions?
20+
21+ > #### Example 1: For running test on single Leetcode problem
22+
23+ ``` bash
24+ Run tests for 2020/01_January/LC1_TwoSum
25+
26+ cd into the 2020/01_January/ directory
27+ Then run:
28+
29+ jest --watch LC1_TwoSum
30+ ```
31+
32+ > #### Example 2: For running test on complete month (eg. 01_January, 02_Feburary) of year 2020
33+
34+ ``` bash
35+ Run tests for 2020/01_January
36+
37+ cd into 2020
38+ Then run:
39+ jest --watch 01_January
40+ jest --watch 02_Feburary
41+ ```
You can’t perform that action at this time.
0 commit comments