Skip to content

Implemented bucket sort algorithm#64

Merged
the-codingninja merged 1 commit intoTheAlgorithms:masterfrom
KuLi:bucket_sort
Oct 23, 2018
Merged

Implemented bucket sort algorithm#64
the-codingninja merged 1 commit intoTheAlgorithms:masterfrom
KuLi:bucket_sort

Conversation

@KuLi
Copy link
Copy Markdown
Contributor

@KuLi KuLi commented Oct 16, 2018

Added bucket sort algorithm

if(list.length === 0){
return list;
}
var min = list[0];
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you please use ES6 instead of var

Suggested change
var min = list[0];
let min = list[0];

Copy link
Copy Markdown
Member

@the-codingninja the-codingninja left a comment

Choose a reason for hiding this comment

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

Use ES6 for the script

@KuLi
Copy link
Copy Markdown
Contributor Author

KuLi commented Oct 17, 2018

Sure. I changed it.

@the-codingninja the-codingninja merged commit 7b82729 into TheAlgorithms:master Oct 23, 2018
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