Question Details
Problem Fill each empty room in a 2D grid with the distance to its nearest gate using multi-source BFS. Likely LeetCode equivalent LC 286 - Walls and Gates (>80% confident) Tags graph, bfs, matrix
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Coding
Onsite