Skip to content

Commit

Permalink
Merge pull request trekhleb#4 from redfast00/patch-1
Browse files Browse the repository at this point in the history
Corrected typo
  • Loading branch information
trekhleb authored May 24, 2018
2 parents 9a02687 + 745b5e9 commit 13dab5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/algorithms/uncategorized/knight-tour/knightTour.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @return {number[][]}
*/
function getPossibleMoves(chessboard, position) {
// Generate all knight moves (event those that goes beyond the board).
// Generate all knight moves (even those that go beyond the board).
const possibleMoves = [
[position[0] - 1, position[1] - 2],
[position[0] - 2, position[1] - 1],
Expand Down

0 comments on commit 13dab5d

Please sign in to comment.