[PR #1484] [CLOSED] feat: add leetcode problem 88 #2082

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

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/1484
Author: @richvigorito
Created: 9/14/2025
Status: Closed

Base: masterHead: solutions/leetcode-88


📝 Commits (3)

  • 4b4df32 feat: add LeetCode problem 100
  • aad9432 add solution to leetcode 88
  • 78858e1 Delete leetcode/src/100.c

📊 Changes

1 file changed (+24 additions, -0 deletions)

View changed files

leetcode/src/88.c (+24 -0)

📄 Description

Description of Change

Leetcode 88:

We use three pointers:

i at the last valid element of nums1 (m - 1),
j at the last element of nums2 (n - 1),
k at the last total index of the merged array (m + n - 1).

References

Checklist

  • Added description of change
  • [ x] Added file name matches File name guidelines
  • Added tests and example, test must pass. SEE: link
  • 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/1484 **Author:** [@richvigorito](https://github.com/richvigorito) **Created:** 9/14/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `solutions/leetcode-88` --- ### 📝 Commits (3) - [`4b4df32`](https://github.com/TheAlgorithms/C/commit/4b4df325f388d37766da52184bef0f69e8b5ad53) feat: add LeetCode problem 100 - [`aad9432`](https://github.com/TheAlgorithms/C/commit/aad943284f6f5066f441b2b5bc2dc3776b4380dd) add solution to leetcode 88 - [`78858e1`](https://github.com/TheAlgorithms/C/commit/78858e17494907c29c5e4ef0eec22587389122d2) Delete leetcode/src/100.c ### 📊 Changes **1 file changed** (+24 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `leetcode/src/88.c` (+24 -0) </details> ### 📄 Description #### Description of Change Leetcode 88: We use three pointers: i at the last valid element of nums1 (m - 1), j at the last element of nums2 (n - 1), k at the last total index of the merged array (m + n - 1). <!-- 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. SEE: [link](https://leetcode.com/problems/merge-sorted-array/solutions/7188143/c-omn-solution-by-richvigorito-bllr/) - [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:28:29 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#2082