Skip to content

Conversation

@ayushkumar2010
Copy link
Owner

Bubble Sorting Code

return bucket;
}

public static List<Integer> bubbleSorting(List<Integer> list) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This method should be in a different package algorithms.sorting.BubbleSort.java

}

public static List<Integer> bubbleSorting(List<Integer> list) {
int length = list.size();
Copy link
Collaborator

Choose a reason for hiding this comment

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

Use array instead of list and rewrite it.

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