...

/

Number of Spaces Cleaning Robot Cleaned

Number of Spaces Cleaning Robot Cleaned

Try to solve the Number of Spaces Cleaning Robot Cleaned problem.

Statement

You are given a 0-indexed 2D binary matrix, room, representing a room of size m×nm \times n. In this matrix, 00 represents an empty space, while ...