fixed some spellings

This commit is contained in:
Keshav Bohra
2021-10-05 12:49:23 +05:30
parent 199d2637cc
commit 1589263947
41 changed files with 80 additions and 80 deletions

View File

@ -54,11 +54,11 @@ function bucketSort (list, size) {
}
// Testing
const arrOrignal = [5, 6, 7, 8, 1, 2, 12, 14]
// > bucketSort(arrOrignal)
const arrOriginal = [5, 6, 7, 8, 1, 2, 12, 14]
// > bucketSort(arrOriginal)
// [1, 2, 5, 6, 7, 8, 12, 14]
// Array before Sort
console.log(arrOrignal)
const arrSorted = bucketSort(arrOrignal)
console.log(arrOriginal)
const arrSorted = bucketSort(arrOriginal)
// Array after sort
console.log(arrSorted)