A tough OA question
Anonymous User
421

There are N different packages. the ith package is of X[i] days and the price of that package is Y[i]. There are M customers. the jth customer wants the package of at least A[j] days and he doesn’t want to spend more than B[j] for any package. One package can accommodate at most one customer (Social Distancing) and a customer can buy at most one package. You have to find the maximum number of packages, you can sell.
How to solve this?

Comments (3)