Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit13dab5d

Browse files
authored
Merge pull requesttrekhleb#4 from redfast00/patch-1
Corrected typo
2 parents9a02687 +745b5e9 commit13dab5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/algorithms/uncategorized/knight-tour/knightTour.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*@return {number[][]}
55
*/
66
functiongetPossibleMoves(chessboard,position){
7-
// Generate all knight moves (event those thatgoes beyond the board).
7+
// Generate all knight moves (even those thatgo beyond the board).
88
constpossibleMoves=[
99
[position[0]-1,position[1]-2],
1010
[position[0]-2,position[1]-1],

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp