GleanCodingMembers
House Building Shortest Distance
Members only
A grid problem about choosing the best empty spot to build on, given fixed buildings and impassable obstacles. The challenge is keeping the search work manageable on larger grids and handling spots that some buildings cannot reach.
SWE
graph
grid
bfs
array
hard
Frequency
Single report
Last asked
—
Stage
onsite-coding · phone-screen
Members get
- Full problem statement
- 3 progressive hints
- Step-by-step approach
- Full solution with code
- 6 talking points
- 5 follow-up questions with answer directions
- Preparation drills
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
