</>OfferRetriever
DashboardDiscuss
NEW
Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
$10.42$7.08/mo

--

:

--

:

--

:

--

Get this deal
Back to Square Questions

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

Asked at:Square

More Square interview questions

All Square interview questions
OfferRetriever

Master technical interviews with real questions from top companies. Build your confidence and career.

PRODUCT
PricingDashboardDiscussOfferRetriever vs LeetCodeCompare
LEGAL

© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.