We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9a02687 + 745b5e9 commit 13dab5dCopy full SHA for 13dab5d
src/algorithms/uncategorized/knight-tour/knightTour.js
@@ -4,7 +4,7 @@
4
* @return {number[][]}
5
*/
6
function getPossibleMoves(chessboard, position) {
7
- // Generate all knight moves (event those that goes beyond the board).
+ // Generate all knight moves (even those that go beyond the board).
8
const possibleMoves = [
9
[position[0] - 1, position[1] - 2],
10
[position[0] - 2, position[1] - 1],
0 commit comments