For which permutations
is the n x n slide puzzle
solvable? (By solvable this means get to
where the only allowed moves are transposing the empty slot with a horizontally- or vertically-adjacent slot.)
Tbh I'm not sure what the full answer is.
Hint to get started: odd permutations are not solvable.
is the n x n slide puzzle
solvable? (By solvable this means get to
where the only allowed moves are transposing the empty slot with a horizontally- or vertically-adjacent slot.)
Tbh I'm not sure what the full answer is.
Hint to get started: odd permutations are not solvable.