Question 2
STATE SPACE
In the 8-puzzle, use the combination of tile-number (1 to 8) and the direction (Up, Down,Left, Right) of tile movement to denote a move, for example:
6U — move tile 6 up 2D — move tile 2 down 4L — move tile 4 left 8R — move tile 8 right
Based on the above data, answer the given subquestions.
Starting from board S, what is the shortest sequence of moves that will result in board G?
Starting from board S, what is the shortest sequence of moves that will result in board G?