8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e0ac74 commit abf9c9cCopy full SHA for abf9c9c
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