Waymo logoWaymo
Coding·60 minMembers

Randomly Populate Grid with Connected Equal-Size Token Regions

Members only

Onsite coding: populate an `m × n` grid with four tokens such that (a) each token occupies the same number of cells, (b) each token's region is 4-connected, (c) the entire grid is covered, and (d) the...

SWE
bfs
grid
sampling
simulation
hard
Frequency
Low
Last asked
2026-08-25
Stage
onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...