Pregunta de entrevista de Mastercard

They asked about design patterns - factory and strategy.