The Wayback Machine - https://web.archive.org/web/20200916131210/https://github.com/TheAlgorithms/C/pull/512
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Negative index of array #512

Open
wants to merge 2 commits into
base: master
from
Open

Conversation

@singla007
Copy link

singla007 commented Jan 28, 2020

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

singla007 added 2 commits Jan 28, 2020
It just prevent array[-1] index
Update gnome_sort.c
@kvedala
Copy link
Collaborator

kvedala commented Jul 22, 2020

@singla007 can you please resolve the merge conflicts and test the code. thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.