</>OfferRetriever
DashboardDiscuss
NEW

Spring Hire Sale

Limited Time Deal: Unlock all premium questions for over 30% off

$10.42$7.08

08

:

06

:

36

:

07

Get this deal
Back to Dashboard

Covered Service Zones

Medium

You are given two binary m x n matrices: coverage and demand.

A cell in demand is active if its value is 1. Active cells that are 4-directionally connected form a demand cluster. A demand cluster is fully covered if every cell in the cluster also has coverage[row][col] == 1. ...