Number of Spaces Cleaning Robot Cleaned
Explore how a cleaning robot moves in a binary matrix representing a room and cleans spaces by navigating around obstacles. Understand the rules governing the robot's movement and learn to determine the total unique spaces cleaned before it revisits a space facing the same direction.
We'll cover the following...
We'll cover the following...
Statement
You are given a 0-indexed 2D binary matrix, room, representing a room of size