Company: Amazon_24oct
Difficulty: medium
Minimize Order Processing Time Problem Description Imagine you're managing an Amazon Fulfillment Center, where millions of customer orders are processed daily. Each order must be prepared and dispatched as quickly as possible. You have two ways to handle these orders: Automated Robotics System: Advanced robots that can process multiple orders simultaneously (parallel processing). Each order has a specific processing time, depending on its size and complexity. Human Workforce: A team of workers processes orders one by one in sequence (sequential processing). Each order has two options for processing: Robotics system time: We denote it by robotTime[i] , i.e., the time taken if robots handle the order. Human workforce time: We denote it by humanTime[i] , which is the time taken if the team handles it. Your task is to decide which orders should be handled by the robots and which by the human workforce to minimize the total time it takes to process and dispatch all orders. Note: Each order