Amazon | 18 Nov, 2025 | Package Processing Centers
Amazon · Question · Posted Apr 2026
Code Question 1: Package Processing Centers Problem Statement: An Amazon distribution specialist needs to process n packages from different distribution centers, the center of the i^{th} package is represented by an array centers[i]. The specialist is allowed to perform one operation at a time. Each operation is described below: If the queue has two or more packages, the specialist can choose two packages x and y from the queue if they are from different distribution centers. i.e. centers[x] != centers[y] ...
The full answer & interview discussion are available to premium members.
Log in Create a free account