Mastercard Interview Question

Question related to conditional probability