Find a Path with an Unknown-Grid Robot
A robot is placed in an initially unknown two-dimensional grid. The grid contains traversable cells and walls, and the robot can explore the environment only through APIs.
Given a start coordinate `s...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
