Roomba Robot on a 10x10 Board
Roomba Simulator
A Roomba is on a 10x10 board. Coordinates x (column) and y (row) range from 0 to 9. Directions are N/E/S/W: N decreases y by 1, S increases y by 1, E increases x by 1, W dec...
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:
