PythonPython byteStandard~3h time-box

Grid Claim

Determine which team controls each zone on a contested grid. In a grid claim competition two teams—Black (B) and White (W)—place markers on a rectangular grid. A contiguous group of empty cells that is completely enclosed (horizontally and vertically) by one t…

Grid Claim
Step 1
Clone the starter repo
Candidate gets the full project locally — README, source, tests, runner config.
Step 2
Run the visible tests
Public test file is right there. Expectations are explicit from minute one.
Step 3
Make tests pass, push
Candidate works in their own style, pushes reviewable commits for your team.
Starter repo
What candidates clone
2 files
  • grid_claim.py
  • grid_claim_test.py

The full README and the hidden test suite are available once you open the byte in your CodeSubmit workspace. Candidates never see the hidden tests.

Skills tested
classescontrol flowgraph traversaltuples
Difficulty
Standard

Standard engineering judgment. Multiple edge cases worth handling.

Also available in