Minimum Moves to Reach Target with Rotations
Search over the snake’s tail cell and orientation, using slides and rotations that need a clear square.
Search over the snake’s tail cell and orientation, using slides and rotations that need a clear square.