Array
1298. Maximum Candies You Can Get from Boxes
Boxes have a status (open/closed), candies inside, keys to other boxes, and nested boxes. Starting from initialBoxes, you can process any accessible box (open, or one you hold a key for): collect its…
Loading…