Mastercard Interview Question

Case question about profit and cost