Problem 1778 · Medium

Shortest Path in a Hidden Grid

A robot can only ask whether a neighbouring cell is open.

Open the interactive visualisation