chore: update spelling mistakes (#1790)

* chore: update spelling mistakes

* chore: add spellignore

* chore: update sp mistakes
This commit is contained in:
Ridge Kimani
2025-09-04 07:02:03 +03:00
committed by GitHub
parent 19ecb18f0a
commit 08d8c6b674
21 changed files with 29 additions and 27 deletions

View File

@@ -30,7 +30,7 @@ const uniquePaths = (m, n) => {
for (let j = 1; j < m; j++) {
// paths[j] in RHS represents the cell value stored above the current cell
// paths[j-1] in RHS represents the cell value stored to the left of the current cell
// paths [j] on the LHS represents the number of distinct pathways to the cell (i,j)
// paths [j] on the LHS represents the number of distinct pathways to the cell (i, j)
paths[j] = paths[j - 1] + paths[j]
}
}