mirror of
https://github.com/TheAlgorithms/C
synced 2024-11-24 22:39:52 +03:00
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 <halfpacho@gmail.com> * updating DIRECTORY.md --------- Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com> Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
parent
3c8f86e740
commit
1cfb88c5eb
@ -206,6 +206,7 @@
|
||||
* [1657](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/1657.c)
|
||||
* [169](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/169.c)
|
||||
* [1695](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/1695.c)
|
||||
* [17](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/17.c)
|
||||
* [1704](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/1704.c)
|
||||
* [173](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/173.c)
|
||||
* [1752](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/1752.c)
|
||||
@ -264,6 +265,7 @@
|
||||
* [404](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/404.c)
|
||||
* [42](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/42.c)
|
||||
* [442](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/442.c)
|
||||
* [45](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/45.c)
|
||||
* [461](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/461.c)
|
||||
* [476](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/476.c)
|
||||
* [485](https://github.com/TheAlgorithms/C/blob/HEAD/leetcode/src/485.c)
|
||||
|
@ -39,16 +39,8 @@ If you have a solution to any of these problems (which are not being [**repeated
|
||||
4. Doxygen documentation isn't used in LeetCode solutions. Simple/small documentation or comments should be fine.
|
||||
5. Don't include libraries/headers such as `stdio.h`. Your file should be the solution to the problem only.
|
||||
|
||||
### 📜 Adding your new solution to the list 📜
|
||||
|
||||
Great! You've added your solution. Now, you'll have to add it to `leetcode/DIRECTORY.md`.\
|
||||
Please use numerical order. For example: if the solution's number is `98`, add your solution after `97`, if available.
|
||||
|
||||
This is the required format for new solutinos:
|
||||
|
||||
```markdown
|
||||
| <solution number> | [<solution name>](<leetcode link to problem>) | [C](./src/<filename>.c) | <difficulty> |
|
||||
```
|
||||
> **Note**
|
||||
> 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.
|
||||
|
||||
## 📦 Committing your changes 📦
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user