Member of Technical Staff
Rotting Oranges
You have a grid of oranges where some are rotten and some are fresh. Every minute, any fresh orange that is adjacent to a rotten orange becomes rotten. Given the grid, return the minimum number of minutes that must elapse until no cell has a fresh orange. If it is impossible, return -1. Example: Input: grid = [[2,1,1],[1,1,0],[0,1,1]] Output: 4.
This question was asked in
Salesforce Member of Technical Staff Interview Experience
The Salesforce interview process consisted of three rounds and presented a challenging set of technical questions. Candidates can expect a mixture of coding questions on data structures and algorithms in the first round, followed by a low-level design focus in the second round, and concluding with behavioral and system design discussions in the final round. Overall, the interview experience at Salesforce is thorough, testing both technical and interpersonal skills.