Leetcode 489. Robot Room Cleaner
Control a robot with only move/turn/clean APIs to traverse and clean every reachable cell in an unknown grid with obstacles and no global map. The challenge is to explore the entire accessible area using DFS/backtracking while tracking visited coordinates and managing orientation to avoid revisiting or getting stuck.
Asked at:
Meta
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Late July, 2025
Meta
Staff
489 Robot Room Cleaner
Late May, 2025
Staff
Your account is free and you can post anonymously if you choose.