Mastercard Interview Question

Basic oops concepts and coding rounds