Amazon, On campus recent Online Assessment(OA) Questions | Maximize Inventory & Storage Efficiency | 26th Feb 2025
Amazon · Question · Posted Mar 2026
Question 1: Maximize Inventory Adjustments Problem Statement: An Amazon warehouse processes n shipments, where each shipment affects the inventory levels. These effects are provided in the inventoryAdjustments array, with positive values representing restocks and negative values indicating items taken out for orders. Starting with zero inventory level, the goal is to process shipments in an optimal order to maximize the number of shipments completed while maintaining a strictly positive inventory level. If the inventory reaches zero or goes negative, operations ...
The full answer & interview discussion are available to premium members.
Log in Create a free account