</>OfferRetriever
DashboardDiscuss
NEW

Spring Hire Sale

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

$10.42$7.08

08

:

03

:

11

:

12

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. ...