Asked in: ZS
import heapq
def getMaximumAmount(quantity, m):
    # Write your code here
    q = [-i for i in quantity]
// ... rest of solution available after purchaseNo explanation available for this question.