Amazon oa questions | Coding round | Amazon retailer coverage city planning
Amazon · Question · Posted Mar 2026
Amazon Retailer Coverage (City Planning) Problem Statement: In a newly planned city, where a city is located at each integral coordinate in a 2-dimensional plane, there are n Amazon retailers. The ith retailer residing in the city at the coordinate (x_i, y_i) can deliver to all the cities covered by the rectangle having the 4 corner points (0, 0), (x_i, 0), (0, y_i), (x_i, y_i). Delivery Rules: A point (a, b) is covered by a rectangle if it lies inside ...
The full answer & interview discussion are available to premium members.
Log in Create a free account