From d16336a0006496d5cec999294e9fe61c38e30e99 Mon Sep 17 00:00:00 2001 From: Rak Laptudirm Date: Thu, 28 Oct 2021 13:51:11 +0530 Subject: [PATCH] chore: fix spelling ./Sorts/PancakeSort.js:36: essentialy ==> essentially --- Sorts/PancakeSort.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sorts/PancakeSort.js b/Sorts/PancakeSort.js index d6e1a3d55..239b220f9 100644 --- a/Sorts/PancakeSort.js +++ b/Sorts/PancakeSort.js @@ -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-- }