We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aad3c4d commit 5dbb739Copy full SHA for 5dbb739
Sorts/CocktailShakerSort.js
@@ -3,8 +3,9 @@
3
* The algorithm extends bubble sort by operating in two directions.
4
* While it improves on bubble sort by more quickly moving items to the beginning of the list,
5
* it provides only marginal performance improvements.
6
- * more information: https://en.wikipedia.org/wiki/Cocktail_shaker_sort
7
- * more information: https://en.wikipedia.org/wiki/Bubble_sort
+ *
+ * Wikipedia (Cocktail Shaker Sort): https://en.wikipedia.org/wiki/Cocktail_shaker_sort
8
+ * Wikipedia (Bubble Sort): https://en.wikipedia.org/wiki/Bubble_sort
9
*
10
*/
11
function cocktailShakerSort (items) {
0 commit comments