Snowflake logoSnowflake
CodingMembers

01 Matrix

Members only

Given an m x n binary matrix mat, return the distance of the nearest 0 for each cell.

SWE
grid
bfs
dp
medium
Frequency
Single report
Last asked
2025-12-30
Stage
phone-screen · onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...