mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 00:01:37 +08:00
Update BubbleSort.js
Corrected spelling mistake
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