01.17 · Problem
Robot Vacuum Spiral
This problem is part of solulu Pro
A robot vacuum cleans a rectangular room divided into m × n tiles. It starts at the top-left, moves right until the wall, then down, then left, then up, and keeps spiralling inwards. List the tile values in the order the…
Lifetime ₹2,000 ₹1,000 · Beta offer
Item 17 of 94 · updated 2026-10-12