Amazon Hack On Coding Round 28th May,2024
Amazon · Question · Posted Jun 2024
Problem 1: we have a set of K garments that must be washed and dried. There are N washing machines and M dryers available but each machine and dryer can handle only one garment at a time. Each washing machine i takes W[i] minutes to wash a garment and each dryer takes D[i] minutes to dry a garment . Your goal is to determine the minimum time required to wash and dry all garments Note :Transferring garments between machines take ...
The full answer & interview discussion are available to premium members.
Log in Create a free account