Skip to content

Commit ef387e6

Browse files
authored
Merge branch 'master' into dev
2 parents 262bb2c + 13dab5d commit ef387e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* @return {number[][]}
55
*/
66
function getPossibleMoves(chessboard, position) {
7-
// Generate all knight moves (event those that goes beyond the board).
7+
// Generate all knight moves (even those that go beyond the board).
88
const possibleMoves = [
99
[position[0] - 1, position[1] - 2],
1010
[position[0] - 2, position[1] - 1],

0 commit comments

Comments
 (0)