Pergunta de entrevista da empresa Mastercard

System design and coding question.