From 1cfb88c5ebed78a346f4eda256df6c56184a1a1e Mon Sep 17 00:00:00 2001 From: Alexander Pantyukhin Date: Wed, 1 Mar 2023 06:28:06 +0400 Subject: [PATCH] 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 * updating DIRECTORY.md --------- Co-authored-by: github-actions[bot] Co-authored-by: David Leal --- DIRECTORY.md | 2 ++ leetcode/README.md | 12 ++---------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/DIRECTORY.md b/DIRECTORY.md index 4196787c..f8ac382e 100644 --- a/DIRECTORY.md +++ b/DIRECTORY.md @@ -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) diff --git a/leetcode/README.md b/leetcode/README.md index 47c2b583..8f938b44 100644 --- a/leetcode/README.md +++ b/leetcode/README.md @@ -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 -| | []() | [C](./src/.c) | | -``` +> **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 📦