[PR #1210] [MERGED] feat: add Longest Palindrome Substring solution #1799

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

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/1210
Author: @mindaugl
Created: 2/5/2023
Status: Merged
Merged: 2/25/2023
Merged by: @tjgurwara99

Base: masterHead: solution/longest-palindrome-substring


📝 Commits (7)

  • 2c9d288 feat: add Longest Palindrome Substring solution
  • de176ea fix: update formatting and allocate new results string
  • 3c61d33 fix: update formatting, fix bug related to the string copy
  • 539a0f5 fix: add parantheses for one line if statement
  • ca327bc fix: add comments for library inclusions
  • 36e3a96 Merge branch 'master' into solution/longest-palindrome-substring
  • 1419db9 Merge branch 'master' into solution/longest-palindrome-substring

📊 Changes

2 files changed (+53 additions, -0 deletions)

View changed files

📝 leetcode/DIRECTORY.md (+1 -0)
leetcode/src/5.c (+52 -0)

📄 Description

Description of Change

Add leetcode problem 5 solution: Longest Palindrome Substring

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:


🔄 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/1210 **Author:** [@mindaugl](https://github.com/mindaugl) **Created:** 2/5/2023 **Status:** ✅ Merged **Merged:** 2/25/2023 **Merged by:** [@tjgurwara99](https://github.com/tjgurwara99) **Base:** `master` ← **Head:** `solution/longest-palindrome-substring` --- ### 📝 Commits (7) - [`2c9d288`](https://github.com/TheAlgorithms/C/commit/2c9d2883599b3c2f3a34a4373bd1f2cc9154d3e5) feat: add Longest Palindrome Substring solution - [`de176ea`](https://github.com/TheAlgorithms/C/commit/de176ea1c6d3327377e52d17822d3660738f158f) fix: update formatting and allocate new results string - [`3c61d33`](https://github.com/TheAlgorithms/C/commit/3c61d339991a0afd6bfb768d093d87d363795039) fix: update formatting, fix bug related to the string copy - [`539a0f5`](https://github.com/TheAlgorithms/C/commit/539a0f58d740af8aff719947880270e1324b65a4) fix: add parantheses for one line if statement - [`ca327bc`](https://github.com/TheAlgorithms/C/commit/ca327bcb3d1a7c401cba1d73a73e0730e6d1b172) fix: add comments for library inclusions - [`36e3a96`](https://github.com/TheAlgorithms/C/commit/36e3a968f61e6f434168a86301d7c394799a3649) Merge branch 'master' into solution/longest-palindrome-substring - [`1419db9`](https://github.com/TheAlgorithms/C/commit/1419db9325aba4b009a9b8bc46b54594f4218335) Merge branch 'master' into solution/longest-palindrome-substring ### 📊 Changes **2 files changed** (+53 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `leetcode/DIRECTORY.md` (+1 -0) ➕ `leetcode/src/5.c` (+52 -0) </details> ### 📄 Description #### Description of Change Add leetcode problem 5 solution: Longest Palindrome Substring <!-- 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) - [x] Added tests and example, test must pass - [x] 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 --> --- <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:24:45 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1799