[PR #630] [CLOSED] feat: add leetcode 5 #1081

Open
opened 2026-01-29 15:17:26 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/630
Author: @gbrunofranco
Created: 10/1/2020
Status: Closed

Base: masterHead: master


📝 Commits (7)

  • 4c63209 feat: add leetcode 5
  • 95ab7d7 docs: add comments to 5.c, made input variable clearer
  • 379e096 test: add tests to 5.c
  • 683460e docs: add newline at the end
  • 98e2190 updating DIRECTORY.md
  • c4307d9 fix: moved outside of src folder
  • 5f6e45e updating DIRECTORY.md

📊 Changes

3 files changed (+186 additions, -0 deletions)

View changed files

📝 DIRECTORY.md (+2 -0)
leetcode/5.c (+92 -0)
leetcode/src/5.c (+92 -0)

📄 Description

Description of Change

References

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

Notes:

Looking around the leetcode folder no other file has a main function and tests. I'll change that if needed.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/TheAlgorithms/C/pull/630 **Author:** [@gbrunofranco](https://github.com/gbrunofranco) **Created:** 10/1/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (7) - [`4c63209`](https://github.com/TheAlgorithms/C/commit/4c63209545ded2076166a144fdb92839d145ffa7) feat: add leetcode 5 - [`95ab7d7`](https://github.com/TheAlgorithms/C/commit/95ab7d79acca9f7bced838508fc1f59f41a049de) docs: add comments to 5.c, made input variable clearer - [`379e096`](https://github.com/TheAlgorithms/C/commit/379e09602956b6461392dd5229ad4069526680f2) test: add tests to 5.c - [`683460e`](https://github.com/TheAlgorithms/C/commit/683460ed0718491a68cf37a23a670b66377338f6) docs: add newline at the end - [`98e2190`](https://github.com/TheAlgorithms/C/commit/98e219091b7c50ca7e26a1dcef19e396d9c09aa0) updating DIRECTORY.md - [`c4307d9`](https://github.com/TheAlgorithms/C/commit/c4307d92e023e26ded5d2205b614ca3a57bdc147) fix: moved outside of src folder - [`5f6e45e`](https://github.com/TheAlgorithms/C/commit/5f6e45e70e990040851cc41c20b2e70bb5a09fcd) updating DIRECTORY.md ### 📊 Changes **3 files changed** (+186 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `DIRECTORY.md` (+2 -0) ➕ `leetcode/5.c` (+92 -0) ➕ `leetcode/src/5.c` (+92 -0) </details> ### 📄 Description #### Description of Change <!-- Thank you for your Pull Request. Please provide a description above and review the requirements below. Contributors guide: https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md --> #### References <!-- Add any reference to previous pull-request or issue --> #### Checklist <!-- Remove items that do not apply. For completed items, change [ ] to [x]. --> - [X] Added description of change - [X] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#File-Name-guidelines) - [ ] Added tests and example, test must pass - [ ] Relevant documentation/comments is changed or added - [X] PR title follows semantic [commit guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#Commit-Guidelines) - [X] Search previous suggestions before making a new one, as yours may be a duplicate. - [X] I acknowledge that all my contributions will be made under the project's license. Notes: <!-- Please add a one-line description for developers or pull request viewers --> Looking around the leetcode folder no other file has a main function and tests. I'll change that if needed. <a href="https://gitpod.io/#https://github.com/TheAlgorithms/C/pull/630"><img src="https://gitpod.io/api/apps/github/pbs/github.com/gbrunofranco/C.git/5f6e45e70e990040851cc41c20b2e70bb5a09fcd.svg" /></a> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:17:26 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1081