Google Interview Question

Leetcode 489 robot room cleaner