You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good morning! Here's your coding interview problem for today.
This problem was asked by Airbnb.
An 8-puzzle is a game played on a 3 x 3 board of tiles, with the ninth tile missing. The remaining tiles are labeled 1 through 8 but shuffled randomly. Tiles may slide horizontally or vertically into an empty space, but may not be removed from the board.
Design a class to represent the board, and find a series of steps to bring the board to the state [[1, 2, 3], [4, 5, 6], [7, 8, None]].
The text was updated successfully, but these errors were encountered:
Good morning! Here's your coding interview problem for today.
This problem was asked by Airbnb.
An 8-puzzle is a game played on a
3 x 3
board of tiles, with the ninth tile missing. The remaining tiles are labeled1
through8
but shuffled randomly. Tiles may slide horizontally or vertically into an empty space, but may not be removed from the board.Design a class to represent the board, and find a series of steps to bring the board to the state
[[1, 2, 3], [4, 5, 6], [7, 8, None]]
.The text was updated successfully, but these errors were encountered: