Code RoomBatch geospatial analytics
HardPrep Room Coding #3275

Batch geospatial analytics

System designDistributed systemsSenior–Staff~50 min

Design a batch geospatial analytics pipeline that answers questions like 'how many of yesterday's 100M trips passed through each city district' and 'join 500M GPS pings to administrative boundary polygons' — a large-scale point-in-polygon spatial join over billions of points against millions of polygons, run daily. Cover the partitioning, the join algorithm, and how you avoid skew.

What a strong answer looks like

Clarify scale and constraints first. Propose a clean component breakdown, then go deep on the hard parts (data model, bottlenecks, consistency, failure modes) and name the trade-offs you are making.

Clarify5:30 left
Estimate5:30 planned
Design16:30 planned
Deep dive13:30 planned
Failure9:00 planned
0:00
Which questions mattered is sealed until you submit. Telling you now would just be handing over the edge cases.