</>OfferRetriever
DashboardDiscuss
NEW

Spring Hire Sale

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

$10.42$7.08

08

:

04

:

57

:

45

Get this deal
Back to Dashboard

Grid Exits

Medium
FREE

Question

You are given a 2D grid containing open cells (".") and walls ("#"). An exit is any open cell on the border of the grid that is not the entrance. You start at the entrance cell (given as [row, col]). ...