solulubeta
Sign in
DSA Basics / Exam level
03.08 · Problem

The Watchman's Round

Hard Spiral traversal with four boundaries Pro

This problem is part of solulu Pro

A watchman walks a grid of rooms starting at the top-left corner. He walks right along the top row, then down the right side, then back along the bottom, then up the left side, spiralling inwards until every room has…

Lifetime ₹2,000 ₹1,000 · Beta offer
Mark this problem as solved when you are finished.

Item 73 of 90 · updated 2026-10-12