Skip to content

Update to Bubble Sort#1

Merged
OmkarPathak merged 2 commits intoOmkarPathak:masterfrom
MohamedKiouaz:master
Aug 6, 2017
Merged

Update to Bubble Sort#1
OmkarPathak merged 2 commits intoOmkarPathak:masterfrom
MohamedKiouaz:master

Conversation

@MohamedKiouaz
Copy link
Contributor

Feel free to discard this changes if you want to keep your code simple. This changes just match the pseudo-code of the wikipedia page of bubble sort.

MohamedKiouaz and others added 2 commits August 6, 2017 10:16
If bubble sort does a full loop without any change to list, it returns.
Added improved_sort() functions and updated time complexities for improved_sort() method.
For retrieving code of improved_sort(), simply fire `bubble_sort.get_improved_code()`
@OmkarPathak OmkarPathak merged commit 89af9ec into OmkarPathak:master Aug 6, 2017
OmkarPathak pushed a commit that referenced this pull request Aug 30, 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.

2 participants