Skip to content

Commit 4651ec6

Browse files
author
Ikboljon Abdurasulov
committed
added -- README.md
1 parent 0c4882f commit 4651ec6

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

README.md

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# MY [LEETCODE](https://leetcode.com/ikboljonme/) SOLUTION
2+
3+
This repo contains my solutions to various LeetCode problems, along with explanations and Jest test cases.
4+
5+
## Problem Solutions
6+
7+
For each problem, you can find a JavaScript file containing my solution and a link to an explanation of the code. I have tried to write clear and concise code that is easy to understand, and I have provided explanations to help you understand my thought process and approach to the problem.
8+
9+
## Jest Testcases
10+
11+
To ensure the correctness of my solutions, I have included Jest test cases for each problem. These tests cover various edge cases and input scenarios to help verify that my solution is working correctly.
12+
13+
## Usage
14+
15+
Before running the tests, make sure to download all the required packages by running **npm install** command in the terminal.
16+
17+
```
18+
npm install
19+
```
20+
21+
To run all the Jest test cases, simply run **npm test** in the terminal. This will execute all the tests in the repository.
22+
23+
```
24+
npm test
25+
```
26+
27+
If you want to run tests for a specific problem, you can specify the file path of the test using the --PATH option. For example, to run tests for a problem located in the problems/foo.js file, **run npm test -- problems/foo.test.js**.
28+
29+
```
30+
npm test -- problems/foo.test.js
31+
```
32+
33+
- [Javascript](https://github.com/IkboljonMe/leetcode/tree/main/JavaScript)
34+
- [50_day_Marathon](https://github.com/IkboljonMe/leetcode/tree/main/JavaScript/50days_marathon)

0 commit comments

Comments
 (0)