Mastercard interview question

My level of react experience