InterviewGPT
Robot Partner
Home
Modules
Blogs
Pricing
FAQ
Sign In
Blogs
Coding
Robot Room Cleaner
Search
The Question
Coding
Robot Room Cleaner
Given a robot in an unknown grid that can move, turn, and clean, design an algorithm using only the robot's API to clean all reachable empty cells.
Java
DFS
Backtracking
HashSet
February 9, 2026