Tesla logoTesla
Coding·45 minMembers

First Solar Panel Placement in a Binary Grid

Members only

Given a 2-D binary grid and a solar panel height / width, return the first coordinate where the panel can fit. `0` means empty, `1` means blocked; the round asks for brute force, implementation, tests...

SWE
grid
prefix-sum
medium
Frequency
Single report
Last asked
2025-10-31
Stage
phone-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...