Mastercard Interview Question

About my current working scenario