Airbnb logoAirbnb
Coding·45 minMembers

Terrain Rendering + Water Drop Simulation

Members only

Two-part problem. Part 1: given an array of column heights, print the terrain as an ASCII column chart. Part 2: drop `W` units of water at column `c` and print the terrain after the water settles; wat...

SWE
array
simulation
grid
two-pointer
medium
Frequency
Low
Last asked
2026-02-28
Stage
onsite-coding · tech-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...