[PR #512] [CLOSED] Negative index of array #930

Closed
opened 2026-01-29 15:16:19 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/512
Author: @singla007
Created: 1/28/2020
Status: Closed

Base: masterHead: master


📝 Commits (2)

  • 25528f1 Update gnome_sort.c
  • 56e44c8 Merge pull request #1 from singla007/singla007-patch-1

📊 Changes

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

View changed files

📝 sorting/gnome_sort.c (+1 -1)

📄 Description

It prevents array[-1] index as negative index doesn't exists in array


🔄 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/512 **Author:** [@singla007](https://github.com/singla007) **Created:** 1/28/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`25528f1`](https://github.com/TheAlgorithms/C/commit/25528f1b029d45f72ae82e1d85170e956af71893) Update gnome_sort.c - [`56e44c8`](https://github.com/TheAlgorithms/C/commit/56e44c83c573339d0b7170a9a585154ac8b74793) Merge pull request #1 from singla007/singla007-patch-1 ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `sorting/gnome_sort.c` (+1 -1) </details> ### 📄 Description It prevents array[-1] index as negative index doesn't exists in array --- <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:16:19 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#930