Problem clarification and contract
10%Senior signals
- ✓Clarifies that connectivity is 4-directional (not diagonal), confirms the grid is rectangular, and asks whether the grid may be empty.
- ✓Confirms whether the input grid may be mutated during traversal or an external visited structure is preferred.
Staff-level signals
- ◆Raises how a very large grid affects the choice between recursion and an explicit stack for traversal.
Common red flags
- ×Codes immediately while assuming diagonal connectivity without confirming.
