Mastercard interview question

About my current working scenario