chore: fix spelling

./Sorts/PancakeSort.js:36: essentialy ==> essentially
This commit is contained in:
Rak Laptudirm
2021-10-28 13:51:11 +05:30
committed by GitHub
parent 315db14c5f
commit d16336a000

View File

@ -33,7 +33,7 @@ export function flipArray (array, startIndex, endIndex) {
array[startIndex] = array[endIndex]
array[endIndex] = temp
// essentialy reducing the problem to a smaller subarray
// essentially reducing the problem to a smaller subarray
startIndex++
endIndex--
}