Solution: Number of Spaces Cleaning Robot Cleaned
Solution: Number of Spaces Cleaning Robot Cleaned counts unique cells a robot cleans in a binary room as it starts top-left, turns clockwise at walls or objects, and stops when its state repeats.
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