This comment is hidden because it contains spoiler information about the solution
Given a board of NxN, distributed with tiles labeled 2 to N^2 - 1 (inclusive)
NxN
2
N^2 - 1
Ehm, no. That would be 0 to n²-1 ( and the second sample tests has two threes and no two ).
0
n²-1
Did you mix this up with the minimum value for N ?
N
This comment is hidden because it contains spoiler information about the solution
Ehm, no. That would be
0
ton²-1
( and the second sample tests has two threes and no two ).Did you mix this up with the minimum value for
N
?