mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 08:16:50 +08:00
chore: Merge pull request #675 from mohan-murali/patch-1
Update BubbleSort.js
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/* Bubble Sort is an algorithm to sort an array. It
|
||||
* compares adjacent element and swaps thier position
|
||||
* compares adjacent element and swaps their position
|
||||
* The big O on bubble sort in worst and best case is O(N^2).
|
||||
* Not efficient.
|
||||
*
|
||||
|
Reference in New Issue
Block a user