← Questions

Time for grid signals to reach every target, then remove one blocker

0
GoogleCodingLast asked Aug 2026

A grid holds signal sources, targets and blockers. Signals spread from cell to neighboring cell, one step per unit of time, and cannot pass through blockers.

  1. Return how long it takes until every target has been reached.
  2. You may remove one blocker. Choose the removal that makes that time as small as possible.
Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding