AppleCodingMembers
Shortest Bridge (Distance Between Two Islands)
Members only
You are given a binary grid containing exactly two islands, where 1 is land and 0 is water.
SWE
medium
grid
bfs
dfs
Frequency
Single report
Last asked
2025-11-28
Stage
phone-screen
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
