Community

Discussion Board

Anonymous interview experiences, offers and career talk from frontend engineers.

anon_625894

Airbnb - Senior SWE - TPS

#airbnb
07601

Level: Staff
Education: Bachelor
Years of Experience: 10
Questions Asked: given an array that represents heights in a terrain, how much water can it contain? eg: [2, 0, 2] can contain 2 units of water and [3, 2, 0, 4] can contain 4. Question challenges you to traverse the terrain, filling it up with water by finding nearby peaks

1 reply

Markdown supported. 20 more characters needed.