Skip to content

Commit 1cfb88c

Browse files
alexpantyukhingithub-actions[bot]Panquesito7
authored
docs: update the LeetCode contributing guide (#1225)
* Update README.md Remove not actual information regrading the solutions list. Now it's updated automaticaly. * updating DIRECTORY.md * Update README.md add note about automatically updating the `DIRECTORY.md` file * Update leetcode/README.md Co-authored-by: David Leal <[email protected]> * updating DIRECTORY.md --------- Co-authored-by: github-actions[bot] <[email protected]> Co-authored-by: David Leal <[email protected]>
1 parent 3c8f86e commit 1cfb88c

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

DIRECTORY.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@
206206
* [1657](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/1657.c)
207207
* [169](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/169.c)
208208
* [1695](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/1695.c)
209+
* [17](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/17.c)
209210
* [1704](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/1704.c)
210211
* [173](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/173.c)
211212
* [1752](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/1752.c)
@@ -264,6 +265,7 @@
264265
* [404](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/404.c)
265266
* [42](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/42.c)
266267
* [442](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/442.c)
268+
* [45](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/45.c)
267269
* [461](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/461.c)
268270
* [476](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/476.c)
269271
* [485](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/485.c)

leetcode/README.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,8 @@ If you have a solution to any of these problems (which are not being [**repeated
3939
4. Doxygen documentation isn't used in LeetCode solutions. Simple/small documentation or comments should be fine.
4040
5. Don't include libraries/headers such as `stdio.h`. Your file should be the solution to the problem only.
4141

42-
### 📜 Adding your new solution to the list 📜
43-
44-
Great! You've added your solution. Now, you'll have to add it to `leetcode/DIRECTORY.md`.\
45-
Please use numerical order. For example: if the solution's number is `98`, add your solution after `97`, if available.
46-
47-
This is the required format for new solutinos:
48-
49-
```markdown
50-
| <solution number> | [<solution name>](<leetcode link to problem>) | [C](./src/<filename>.c) | <difficulty> |
51-
```
42+
> **Note**
43+
> There was a requirement to update the `leetcode/DIRECTORY.md` file with details of the solved problem. It's not required anymore. The information about the problem is fetched automatically throughout the LeetCode API.
5244
5345
## 📦 Committing your changes 📦
5446

0 commit comments

Comments
 (0)