From 5dbb739fd0b0dbc40675de3ceae3daad147a9064 Mon Sep 17 00:00:00 2001 From: marsonya Date: Mon, 2 Nov 2020 15:24:09 +0530 Subject: [PATCH] Cocktail Shaker Sort | Formatted Wikipedia Link --- Sorts/CocktailShakerSort.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Sorts/CocktailShakerSort.js b/Sorts/CocktailShakerSort.js index 1442fa2a4..1d9c94e38 100644 --- a/Sorts/CocktailShakerSort.js +++ b/Sorts/CocktailShakerSort.js @@ -3,8 +3,9 @@ * The algorithm extends bubble sort by operating in two directions. * While it improves on bubble sort by more quickly moving items to the beginning of the list, * it provides only marginal performance improvements. - * more information: https://en.wikipedia.org/wiki/Cocktail_shaker_sort - * more information: https://en.wikipedia.org/wiki/Bubble_sort + * + * Wikipedia (Cocktail Shaker Sort): https://en.wikipedia.org/wiki/Cocktail_shaker_sort + * Wikipedia (Bubble Sort): https://en.wikipedia.org/wiki/Bubble_sort * */ function cocktailShakerSort (items) {