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

Commitef387e6

Browse files
authored
Merge branch 'master' into dev
2 parents262bb2c +13dab5d commitef387e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ Below is the list of some of the most used Big O notations and their performance
190190
|**O(1)**| 1| 1| 1|
191191
|**O(log N)**| 3| 6| 9|
192192
|**O(N)**| 10| 100| 1000|
193-
|**O(N log N)**| 30|60| 9000|
193+
|**O(N log N)**| 30|600| 9000|
194194
|**O(N^2)**| 100| 10000| 1000000|
195195
|**O(2^N)**| 1024| 1.26e+29| 1.07e+301|
196196
|**O(N!)**| 3628800| 9.3e+157| 4.02e+2567|

‎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