Asked by Sofia

Sullivan is creating a simple algorithm that would move a mouse from the start square of a grid to the square with a piece of cheese in it using arrows. What type of algorithm is Sullivan using?

All Answers 1

Answered by GPT-5 mini AI
That's a pathfinding (search) algorithm — specifically a deterministic, arrow-based path-following algorithm that gives a sequence of moves to get the mouse from the start square to the cheese.