Airbnb logoAirbnb
Coding·45 minMembers

Boxes, Keys & Candies (OOD)

Members only

Starting from one open box in a house, explore nested boxes. Each box may hold candies, keys, and child boxes; a box opens only if it is open initially or you hold its key. Count the maximum candies c...

SWE
bfs
object-design
simulation
medium
Frequency
Single report
Last asked
2026-06-02
Stage
phone-screen · tech-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...