mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-06 17:50:39 +08:00
chore: fix spelling
./Sorts/PancakeSort.js:36: essentialy ==> essentially
This commit is contained in:
@ -33,7 +33,7 @@ export function flipArray (array, startIndex, endIndex) {
|
|||||||
array[startIndex] = array[endIndex]
|
array[startIndex] = array[endIndex]
|
||||||
array[endIndex] = temp
|
array[endIndex] = temp
|
||||||
|
|
||||||
// essentialy reducing the problem to a smaller subarray
|
// essentially reducing the problem to a smaller subarray
|
||||||
startIndex++
|
startIndex++
|
||||||
endIndex--
|
endIndex--
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user