</>OfferRetriever
DashboardDiscuss
NEW

July 4th Sale

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

$10.42$6.25

10

:

09

:

27

:

55

Get this deal
Back to Dashboard

Obstacle Grid Blocks

Easy

Question

You are given two integers R and C representing the number of rows and columns in a grid (0-indexed). You are also given a list hazards, where each hazards[i] = [r, c] marks a hazard cell at row r, column c. All other cells are safe. ...