chore: Merge pull request #675 from mohan-murali/patch-1

Update BubbleSort.js
This commit is contained in:
Rak Laptudirm
2021-09-05 13:32:27 +05:30
committed by GitHub

View File

@ -1,5 +1,5 @@
/* Bubble Sort is an algorithm to sort an array. It /* 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). * The big O on bubble sort in worst and best case is O(N^2).
* Not efficient. * Not efficient.
* *