Skip to content

Conversation

@liesislukas
Copy link
Contributor

starting sorting algorithms comparison table

| Algorithm | Complexity | When to use? |
|----------------------------|-----------------------------------------------------|--------------|
| 3-way-string-quicksort.js | O(N^2) | |
| bubblesort.js | O(N) in case the, data is with uniform distribution | |
Copy link
Owner

Choose a reason for hiding this comment

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

Bubble sort is O(n^2).

updated bubblesort complexity
@liesislukas
Copy link
Contributor Author

true, updated

@mgechev mgechev merged commit 49b3857 into mgechev:master Apr 9, 2016
mgechev added a commit that referenced this pull request May 18, 2016
* 'master' of github.com:mgechev/javascript-algorithms:
  Create readme.md (#94)
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