From 6c916966d694f9fddc082e8149a34e0053bfc7a6 Mon Sep 17 00:00:00 2001 From: marsonya Date: Sun, 24 Jan 2021 23:34:56 +0530 Subject: [PATCH] Standard formatting fixes | Counting Sort --- Sorts/CountingSort.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sorts/CountingSort.js b/Sorts/CountingSort.js index b4f84eb6c..396765c4f 100644 --- a/Sorts/CountingSort.js +++ b/Sorts/CountingSort.js @@ -1,9 +1,9 @@ /** - * Counting sort is an algorithm for sorting a collection + * Counting sort is an algorithm for sorting a collection * of objects according to keys that are small integers. - * + * * It is an integer sorting algorithm. - * + * * Wikipedia: https://en.wikipedia.org/wiki/Counting_sort * Animated Visual: https://www.cs.usfca.edu/~galles/visualization/CountingSort.html */ @@ -39,5 +39,5 @@ console.log('\n- Before Sort | Implementation of Counting Sort -') console.log(array) // After Sort console.log('- After Sort | Implementation of Counting Sort -') -console.log(comcountingSortbSort(array)) +console.log(countingSort(array)) console.log('\n')