mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-06 01:18:23 +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[endIndex] = temp
|
||||
|
||||
// essentialy reducing the problem to a smaller subarray
|
||||
// essentially reducing the problem to a smaller subarray
|
||||
startIndex++
|
||||
endIndex--
|
||||
}
|
||||
|
Reference in New Issue
Block a user