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

Code for Shell Sort in Python #90

Closed
wants to merge 4 commits into from
Closed

Code for Shell Sort in Python #90

wants to merge 4 commits into from

Conversation

rahulkumaran
Copy link
Contributor

This is a code for Shell Sort written in Python.
For testing once can give any list of numbers arranged in any order.
Also, I assigned the task of writing the code to myself as there was no code already for the implementation of Shell Sort!

@rahulkumaran
Copy link
Contributor Author

@prateekiiest rectified the mistake !

currentvalue = test[i]
position = i
while(position>=gap and test[position-gap]>currentvalue):
test[position]=test[position-gap]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

document the code

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay I'll do that!

@prateekiiest
Copy link
Member

Why is Ceasar Cipher showing up here ?

@prateekiiest
Copy link
Member

Your PR is not working as expected.
Please open a new branch for each PR.

That way it will get solved. If not try to edit the master repo. That will be better

@rahulkumaran
Copy link
Contributor Author

And i created a new branch, not able to figure out why the Caesarcipher code came in this branch ! Anyway I'll try rectifying

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

Successfully merging this pull request may close these issues.

2 participants