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

More concise, optimized and readable code in sorts/quick_sort.py file #73

Merged
merged 3 commits into from
Apr 6, 2017

Conversation

alaouimehdi1995
Copy link
Contributor

No description provided.

else:
greater.append(element)
return quick_sort(less) + equal + quick_sort(greater)
ARRAY_LENGTH=len(ARRAY)
Copy link

Choose a reason for hiding this comment

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

Good to have spaces before and after operators (f.e.: =, <=, + etc)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, I'll do it

@alaouimehdi1995 alaouimehdi1995 changed the title Code more concise and more readable in sorts/quick_sort.py file More concise, optimized and readable code in sorts/quick_sort.py file Apr 6, 2017
@AnupKumarPanwar AnupKumarPanwar merged commit 408c5d0 into TheAlgorithms:master Apr 6, 2017
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.

5 participants