</>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 Pinterest Questions

Warehouse Item Counter

Medium

You are building a warehouse inventory scanner that analyzes a 2D grid representing a warehouse floor. Each cell is either 'X' (part of an item) or '.' (empty floor). Two 'X' cells belong to the same item if they are directly adjacent (up, down, left, or right) and the scanner's areSameItem API confirms they are part of the same object.

In the full problem, you are given access to a black-box API: ...

Asked at:Pinterest

More Pinterest interview questions

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