LeetCode
Question
·
Nov 2024
Snap | Phone Screen | SWE Backend
3 upvotes
442 views
6 replies
Question Details
You have a box of mxn grids. Each grid can have one apple. Some apples are bad, and some are good. Bad apples will make the neighboring apple become bad too every hour Return...
Full Details
You have a box of mxn grids.
Each grid can have one apple.
Some apples are bad, and some are good.
Bad apples will make the neighboring apple become bad too every hour
Return the minium hours that all apples become bad
Free preview. Unlock all Snap questions →
About This Question
This is a reported interview question from a snap interview for a backend role during the phone screen round reported in 2024.
It covers the following topics: Matrix .