Microsoft Interview Question

Robot cleaning problem how many squares did robot cleaned?